/* Общие стили */ * { margin: 0; padding: 0; box-sizing: border-box; } body { margin: 0; padding: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: #f5f5f5; overflow: hidden; } /* ============================================ ОКНО ЛОГИНА ============================================ */ .login-window { max-width: 400px; margin: 12% auto; padding: 20px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .login-window h2 { text-align: center; color: #333; margin-bottom: 20px; } .input-group { margin-bottom: 20px; } .input-group label { display: block; margin-bottom: 5px; color: #666; } .input-group input { width: 95%; padding: 10px; border: 1px solid #b9b9b9; border-radius: 4px; font-size: 16px; } .button-group { display: flex; gap: 10px; } button { flex: 1; padding: 10px; border: none; border-radius: 4px; font-size: 16px; cursor: pointer; transition: background-color 0.2s; } button[type="submit"] { background-color: #007bff; color: white; } button[type="submit"]:hover { background-color: #0056b3; } button[type="button"] { background-color: #6c757d; color: white; } button[type="button"]:hover { background-color: #545b62; } button:disabled { background-color: #cccccc; cursor: not-allowed; } /* ============================================ ГЛАВНОЕ МЕНЮ ============================================ */ .main-menu { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); } .main-menu h1 { color: #fff; font-size: 2.5rem; margin-bottom: 40px; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3); font-weight: 300; } .menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 200px)); gap: 25px; max-width: 900px; width: 100%; justify-content: center; } .menu-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 25px 20px; background: rgba(255, 255, 255, 0.95); border: none; border-radius: 16px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); min-height: 140px; } .menu-item:hover { transform: translateY(-5px) scale(1.05); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2); } .menu-item:active { transform: scale(0.95); } .menu-item .icon { font-size: 2.5rem; } .menu-item .title { font-size: 1rem; font-weight: 500; color: #2d3436; text-align: center; } /* ============================================ ВИДЕО-ЗАСТАВКА ============================================ */ .video-splash { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; background: #000; cursor: pointer; display: flex; align-items: center; justify-content: center; } .video-splash video { width: 100%; height: 100%; object-fit: cover; } .video-splash .hint { position: absolute; bottom: 60px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; opacity: 0.6; text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); } /* ============================================ НИЖНЯЯ ПАНЕЛЬ (КУРСЫ ВАЛЮТ) ============================================ */ .bottom-bar { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(44, 62, 80, 0.95); backdrop-filter: blur(10px); color: #fff; padding: 8px 20px; display: flex; align-items: center; gap: 20px; overflow: hidden; z-index: 1000; height: 40px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px; font-family: monospace; } .bottom-bar .status { display: flex; align-items: center; gap: 15px; flex-shrink: 0; } .bottom-bar .status .online { color: #2ecc71; font-size: 12px; } .bottom-bar .status .offline { color: #e74c3c; font-size: 12px; } .bottom-bar .status .label { font-weight: 600; opacity: 0.7; } .bottom-bar .rates { display: flex; gap: 25px; overflow: hidden; flex: 1; } .bottom-bar .rates .item { display: flex; gap: 8px; align-items: center; white-space: nowrap; } .bottom-bar .rates .item .currency { font-weight: 600; } .bottom-bar .rates .item .change-up { color: #2ecc71; font-size: 11px; font-weight: 500; } .bottom-bar .rates .item .change-down { color: #e74c3c; font-size: 11px; font-weight: 500; } .bottom-bar .rates .divider { color: rgba(255, 255, 255, 0.3); font-size: 18px; font-weight: 100; } .bottom-bar .time { margin-left: auto; font-size: 11px; opacity: 0.4; white-space: nowrap; flex-shrink: 0; } /* ============================================ ИНФОРМАЦИЯ О СОТРУДНИКЕ ============================================ */ .employee-info { max-width: 800px; margin: 20px auto; padding: 20px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .employee-header { display: flex; gap: 20px; margin-bottom: 20px; } .employee-photo { width: 200px; height: 200px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; border-radius: 4px; } .photo-placeholder { color: #999; font-size: 18px; } .employee-details { flex: 1; } .employee-details h2 { margin: 0 0 10px 0; color: #333; } .employee-details p { margin: 5px 0; color: #666; } /* ============================================ РАСЧЁТНЫЙ ЛИСТ ============================================ */ .payslip-section { margin-top: 30px; padding: 20px; background: #f8f9fa; border-radius: 8px; border: 1px solid #e9ecef; } .payslip-section h3 { margin: 0 0 20px 0; color: #333; font-size: 18px; } .period-selector { margin-bottom: 20px; } .period-selector label { display: block; margin-bottom: 8px; color: #555; font-weight: 500; } .period-selector select { width: 100%; padding: 10px; border: 1px solid #ced4da; border-radius: 4px; font-size: 16px; background-color: white; cursor: pointer; } .period-selector select:focus { outline: none; border-color: #007bff; box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25); } /* ============================================ ВЕРХНЯЯ ПАНЕЛЬ (КНОПКА НАЗАД) ============================================ */ .top-bar { margin-bottom: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; } .back-button { background-color: #6c757d; color: white; padding: 8px 16px; border: none; border-radius: 4px; cursor: pointer; font-size: 14px; display: flex; align-items: center; gap: 5px; transition: all 0.2s ease; flex: 0 0 auto; width: auto; } .back-button:hover { background-color: #545b62; transform: translateX(-2px); } /* ============================================ ГОСТЕВОЙ РЕЖИМ ============================================ */ .guest-mode { max-width: 1200px; margin: 20px auto; padding: 20px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .guest-content h2 { text-align: center; color: #333; margin-bottom: 30px; } /* Навигация по табам */ .tab-navigation { display: flex; gap: 10px; margin-bottom: 20px; border-bottom: 2px solid #f0f0f0; } .tab-button { padding: 12px 24px; border: none; background: none; cursor: pointer; font-size: 16px; color: #666; border-bottom: 3px solid transparent; transition: all 0.3s ease; } .tab-button:hover { color: #007bff; background-color: #f8f9fa; } .tab-button.active { color: #007bff; border-bottom-color: #007bff; background-color: #f8f9fa; } /* Контент табов */ .tab-content { min-height: 400px; padding: 20px 0; } .handbook-content, .union-content, .info-content { line-height: 1.6; } .content-text { white-space: pre-line; font-size: 14px; line-height: 1.8; } .loading { text-align: center; color: #666; font-style: italic; padding: 40px; } /* Заголовки в контенте */ .tab-content h3 { color: #333; margin-bottom: 15px; border-bottom: 1px solid #eee; padding-bottom: 10px; } .tab-content p { margin-bottom: 15px; color: #555; } /* ============================================ HANDBOOK СТИЛИ ============================================ */ .handbook-content { max-width: 900px; margin: 0 auto; padding: 24px 12px; background: #fff; border-radius: 8px; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04); } .handbook-content h1 { text-align: center; font-size: 2rem; margin: 24px 0 16px 0; color: #1a237e; } .handbook-content h2 { text-align: center; font-size: 1.5rem; margin: 20px 0 12px 0; color: #283593; } .handbook-content p { margin: 10px 0; font-size: 1.08rem; line-height: 1.6; } .handbook-content ul { margin: 12px 0 12px 32px; padding-left: 18px; } .handbook-content li { margin: 6px 0; font-size: 1.05rem; line-height: 1.5; } .handbook-content strong { font-weight: bold; color: #000000; text-align: center; } .handbook-content h3 { font-weight: bold; color: #000000; text-align: center; } .handbook-content em { font-style: italic; color: #555; text-align: center; } .handbook-content h4 { font-weight: bold; color: #000000; text-align: center; font-size: 1.1rem; } .handbook-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; } .handbook-table th, .handbook-table td { border: 1px solid #ccc; padding: 8px 12px; } .handbook-table th { background: #f5f5f5; } .handbook-content table, .handbook-content th, .handbook-content td, .handbook-content tr { border: 1px solid #bdbdbd; border-collapse: collapse; } .handbook-content th, .handbook-content td { padding: 8px; } .handbook-content table { width: 100%; border-collapse: collapse; } /* ============================================ РАЗДЕЛЫ (Finance, Medicine, TradeUnion и т.д.) ============================================ */ .section-container { padding: 20px; max-width: 1200px; margin: 0 auto; padding-bottom: 80px; } .section-title { color: #2d3436; font-size: 24px; font-weight: 300; margin-bottom: 30px; display: flex; align-items: center; gap: 12px; } .section-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; } .section-card { background: white; border-radius: 16px; padding: 25px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); cursor: pointer; transition: all 0.3s ease; border: 1px solid #f1f2f6; } .section-card:hover { transform: translateY(-5px); box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12); } .section-card .card-icon { font-size: 32px; margin-bottom: 15px; } .section-card .card-title { margin: 0 0 10px 0; color: #2d3436; font-size: 18px; } .section-card .card-description { color: #636e72; font-size: 14px; line-height: 1.6; margin: 0; } /* ============================================ ИНФО-БЛОК ============================================ */ .info-block { margin-top: 30px; padding: 20px; background: #f8f9fa; border-radius: 12px; border: 1px solid #f1f2f6; text-align: center; color: #636e72; } .info-block p { margin: 0; } /* ============================================ АДАПТИВНОСТЬ ============================================ */ @media (max-width: 768px) { .login-window { margin: 20% 15px; } .employee-header { flex-direction: column; align-items: center; } .employee-photo { width: 120px; height: 120px; } .main-menu h1 { font-size: 1.8rem; } .menu-grid { grid-template-columns: repeat(auto-fit, minmax(120px, 150px)); gap: 15px; } .section-grid { grid-template-columns: 1fr; } .tab-navigation { flex-wrap: wrap; } .tab-button { padding: 8px 16px; font-size: 14px; } .bottom-bar { font-size: 11px; padding: 6px 12px; height: 34px; gap: 10px; flex-wrap: nowrap; overflow-x: auto; } .bottom-bar .rates { gap: 15px; } } @media (max-width: 480px) { .login-window { padding: 15px; } .button-group { flex-direction: column; } .menu-grid { grid-template-columns: repeat(auto-fit, minmax(100px, 120px)); gap: 10px; } .menu-item { padding: 15px 10px; min-height: 100px; } .menu-item .icon { font-size: 1.8rem; } .menu-item .title { font-size: 0.85rem; } }