﻿.forgot-link {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

    .forgot-link:hover {
        text-decoration: underline;
    }
.success-alert {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #10b981;
    padding: 12px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 600;
}

    .success-alert i {
        margin-right: 8px;
    }

.timesheet-marquee {
    margin-top: 15px;
    width: 100%;
    overflow: hidden;
    background: #fff8e1;
    border: 1px solid #ffc107;
    border-radius: 8px;
    padding: 8px 0;
    white-space: nowrap;
    position: relative;
}

.timesheet-marquee-content {
    display: inline-block;
    color: #856404;
    font-size: 13px;
    font-weight: 500;
    padding-left: 100%;
    animation: scrollNotice 18s linear infinite;
}

@keyframes scrollNotice {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}
.register-text {
    text-align: center;
    margin-top: 16px;
    color: #666;
    font-size: 14px;
}

    .register-text a {
        color: #1f6fe5;
        font-weight: 600;
        text-decoration: none;
    }

        .register-text a:hover {
            text-decoration: underline;
        }

/* =========================
   Login User Manual Button
   ========================= */

.login-documents {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.login-manual-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #ffffff;
    color: #1f6fe5;
    border: 1px solid #1f6fe5;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
}

    .login-manual-btn i {
        font-size: 15px;
    }

    .login-manual-btn:hover {
        background: #1f6fe5;
        color: #ffffff;
        text-decoration: none;
        transform: translateY(-1px);
    }

/* =========================
   User Manual Button
   ========================= */

.login-documents {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.login-manual-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: #ffffff;
    color: #1f6fe5;
    border: 1px solid #1f6fe5;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .login-manual-btn:hover {
        background: #1f6fe5;
        color: #ffffff;
        transform: translateY(-1px);
    }


/* =========================
   User Manual Modal
   ========================= */

.manual-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

    .manual-modal.show {
        display: flex;
    }


/* Modal Container */

.manual-modal-content {
    width: 95%;
    max-width: 1400px;
    height: 92vh;
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}


/* Header */

.manual-modal-header {
    height: 60px;
    background: #17212b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
}

.manual-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
}

    .manual-title i {
        font-size: 20px;
    }


/* Close Button */

.manual-close {
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0 5px;
}

    .manual-close:hover {
        opacity: 0.7;
    }


/* Document Area */

.manual-modal-body {
    flex: 1;
    overflow: auto;
    background: #e9edf1;
    position: relative;
    padding: 15px;
}


/* Loading */

#manual-loading {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    color: #555;
    font-size: 15px;
}

    #manual-loading i {
        font-size: 28px;
        color: #1f6fe5;
    }


/* Error */

#manual-error {
    position: absolute;
    inset: 0;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #666;
    text-align: center;
}

    #manual-error i {
        font-size: 40px;
        color: #dc3545;
        margin-bottom: 10px;
    }


/* DOCX */

#manual-document-container {
    display: flex;
    justify-content: center;
}

    #manual-document-container .docx-wrapper {
        width: 100%;
    }


/* Footer */

.manual-modal-footer {
    height: 60px;
    background: #f8f9fa;
    border-top: 1px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 20px;
    flex-shrink: 0;
}


/* Download */

.manual-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 16px;
    background: #1f6fe5;
    color: #ffffff;
    border-radius: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

    .manual-download-btn:hover {
        background: #1558b0;
        color: #ffffff;
        text-decoration: none;
    }


/* Close */

.manual-back-btn {
    padding: 9px 18px;
    background: #6c757d;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
}

    .manual-back-btn:hover {
        background: #5a6268;
    }


/* Mobile */

@media (max-width: 768px) {

    .manual-modal {
        padding: 10px;
    }

    .manual-modal-content {
        width: 100%;
        height: 95vh;
    }

    .manual-modal-header {
        height: 55px;
    }

    .manual-modal-footer {
        height: 55px;
    }
}