* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px
}

.container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column
}

.header {
    text-align: center;
    margin-bottom: 25px;
    flex-shrink: 0
}

.header h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px
}

.header p {
    color: #666;
    font-size: 16px
}

.success {
    color: green;
    font-size: 18px;
    margin: 20px 0;
    text-align: center;
    padding: 15px;
    background: #f0fff0;
    border-radius: 8px;
    border-left: 4px solid green;
    flex-shrink: 0
}

.info {
    background: #f0f8ff;
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    flex-shrink: 0
}

.info h3 {
    margin-bottom: 15px;
    color: #333
}

.info ul {
    list-style-type: none;
    padding-left: 0
}

.info li {
    padding: 5px 0;
    padding-left: 25px;
    position: relative
}

.info li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #667eea;
    font-weight: bold
}

.employee-info {
    background: #e8f5e8;
    padding: 15px;
    border-radius: 8px;
    margin: 15px 0;
    border-left: 4px solid #4caf50;
    flex-shrink: 0
}

.actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: auto;
    padding-top: 20px;
    flex-shrink: 0
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    font-size: 14px
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white
}

.btn-secondary {
    background: #6c757d;
    color: white
}

.btn-logout {
    background: #dc3545;
    color: white
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2)
}

.search-container {
    margin: 20px 0;
    flex-shrink: 0
}

.search-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease
}

.search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1)
}

.employees-list-container {
    flex: 1;
    overflow: hidden;
    margin: 10px 0;
    min-height: 400px;
    border: 2px solid #f8f9fa;
    border-radius: 8px;
    background: #f8f9fa
}

.employees-list {
    height: 100%;
    overflow-y: auto;
    padding: 15px
}

.initial-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #666;
    padding: 40px 20px
}

.initial-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.6
}

.initial-state h3 {
    margin-bottom: 15px;
    color: #333
}

.initial-state p {
    line-height: 1.5;
    max-width: 300px
}

.no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    color: #666;
    padding: 40px 20px
}

.no-results-icon {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.6
}

.no-results h3 {
    margin-bottom: 15px;
    color: #333
}

.no-results p {
    line-height: 1.5;
    max-width: 300px;
    margin-bottom: 10px
}

.employee-item {
    margin-bottom: 10px
}

.employee-btn {
    display: block;
    padding: 15px 20px;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05)
}

.employee-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    border-color: #667eea
}

.employee-name {
    font-weight: 600;
    font-size: 16px
}

.employees-list::-webkit-scrollbar {
    width: 6px
}

.employees-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px
}

.employees-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px
}

.employees-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8
}

.accordion {
    margin-bottom: 20px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0
}

.accordion-btn {
    width: 100%;
    background: #f8f9fa;
    border: none;
    padding: 15px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease
}

.accordion-btn:hover {
    background: #e9ecef
}

.arrow {
    font-size: 12px;
    transition: transform 0.3s ease
}

.accordion-content {
    display: none;
    padding: 20px;
    background: white;
    border-top: 1px solid #e1e5e9;
    animation: fadeIn 0.3s ease
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

.instruction-text p {
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
    line-height: 1.4
}

.instruction-text p:last-child {
    margin-bottom: 0
}

.login-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    padding: 40px;
    max-width: 450px;
    width: 100%
}

.login-header {
    text-align: center;
    margin-bottom: 30px
}

.login-header h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 28px
}

.error-message {
    background: #ffe6e6;
    color: #d63031;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #d63031;
    font-weight: 500
}

.login-form {
    margin-bottom: 20px
}

.form-group {
    margin-bottom: 25px
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px
}

.input-with-eye {
    position: relative;
    width: 100%
}

.input-with-eye input {
    width: 100%;
    padding: 12px 50px 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease
}

.input-with-eye input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1)
}

.eye-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    padding: 5px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center
}

.eye-btn:hover {
    background: #f0f0f0
}

.eye-btn:active {
    background: #e0e0e0
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4)
}

.main-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
    flex-shrink: 0
}

.main-header h1 {
    color: #333;
    font-size: 36px;
    margin-bottom: 10px
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 0
}

.content-header {
    margin-bottom: 40px
}

.content-header h2 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 500px
}

.action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px 20px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-height: 80px
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2)
}

.main-footer {
    margin-top: auto;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
    flex-shrink: 0
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px
}

.employee-info {
    font-weight: 600;
    color: #333;
    font-size: 16px
}

.reports-section {
    margin-top: 40px;
    width: 100%;
    max-width: 500px
}

.reports-section h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 20px;
    text-align: center
}

.reports-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px
}

.report-btn {
    display: block;
    padding: 15px;
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    text-align: left
}

.report-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1)
}

.report-class {
    display: block;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    margin-bottom: 5px
}

.report-time {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px
}

.report-type {
    display: inline-block;
    background: #667eea;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-right: 8px
}

.report-role {
    display: inline-block;
    background: #6c757d;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px
}

.empty-reports {
    text-align: center;
    color: #666;
    padding: 30px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #e1e5e9;
    font-size: 16px
}

.text-center {
    text-align: center
}

.mb-20 {
    margin-bottom: 20px
}

.mt-20 {
    margin-top: 20px
}

.hidden {
    display: none !important
}

@media (max-width:768px) {

    .container,
    .login-container {
        padding: 30px 20px;
        margin: 10px;
        max-height: 95vh
    }

    .header h1,
    .login-header h1 {
        font-size: 24px
    }

    .actions {
        flex-direction: column
    }

    .btn {
        width: 100%
    }

    .input-with-eye input {
        padding: 12px 45px 12px 12px
    }

    .eye-btn {
        right: 8px;
        width: 25px;
        height: 25px;
        font-size: 16px
    }

    .employees-list-container {
        min-height: 350px
    }

    .initial-state,
    .no-results {
        padding: 30px 15px
    }

    .main-header h1 {
        font-size: 28px
    }

    .content-header h2 {
        font-size: 24px
    }

    .actions-grid {
        grid-template-columns: 1fr;
        max-width: 300px
    }

    .action-btn {
        padding: 20px 15px;
        font-size: 16px;
        min-height: 70px
    }

    .footer-content {
        flex-direction: column;
        text-align: center
    }

    .employee-info {
        order: 2
    }

    .btn-logout {
        order: 1
    }

    .reports-section {
        margin-top: 30px
    }

    .reports-section h3 {
        font-size: 18px
    }

    .report-btn {
        padding: 12px
    }

    .report-class {
        font-size: 14px
    }

    .report-time,
    .report-type,
    .report-role {
        font-size: 11px
    }
}

@media (max-width:480px) {

    .container,
    .login-container {
        padding: 20px 15px
    }

    .employee-btn {
        padding: 12px 15px
    }

    .employee-name {
        font-size: 14px
    }

    .initial-icon,
    .no-results-icon {
        font-size: 36px
    }

    .main-header h1 {
        font-size: 24px
    }

    .content-header h2 {
        font-size: 20px
    }

    .action-btn {
        font-size: 14px;
        min-height: 60px
    }

    .reports-section {
        margin-top: 20px
    }

    .empty-reports {
        padding: 20px 15px;
        font-size: 14px
    }
}