    @font-face {
    font-family: 'Aquarium Kulit';
    src: url('/fonts/aquarium.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

body {
    background-image: url('/image/x-icon/qrscanning2.jpg'); /* Change this path to your image */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    margin: 0;
    font-family: Arial, sans-serif;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 9, 17, 0.75); /* Dark maroon overlay */
    z-index: 0;
    pointer-events: none;
}

.logo-link {
    display: block;
    text-align: center;
    margin: 10px auto 24px;
    width: fit-content;
}
.logo-link,
.signin-container,
.admin-link,
.modal {
    position: relative;
    z-index: 1;
}

.signin-logo {
    width: 80px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}


.signin-container {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #e0e0e0;
}

.signin-title {
    font-family: 'Aquarium Kulit', sans-serif;
    color: #6b1a2c;
    text-align: center;
    font-size:2.50em;
    margin-bottom: 10px;
    letter-spacing: 1px;
    font-size: 2em;
    margin-bottom: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.signin-or {
    text-align: center;
    font-size: 1em;
    color: #6b1a2c;
    margin-bottom: 18px;
    font-family: 'Tektur', sans-serif;
    font-weight: bold;
}

.signin-social {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    justify-content: center;
}

.signin-social .social-description {
    font-size: 12px;
    color: #666;
    margin-bottom: 4px;
    text-align: center;
}

.signin-social .social-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Tektur', sans-serif;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s;
    box-sizing: border-box;
    min-width: 48px;
    height: 48px;
}

.social-btn img {
    width: 24px;
    height: 24px;
}

.google-btn {
    background: #fff;
    color: #333;
    border-color: #dadce0;
}

.google-btn:hover {
    background: #f8f9fa;
    border-color: #bbb;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.facebook-btn {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.facebook-btn:hover {
    background: #166fe5;
    border-color: #166fe5;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(24,119,242,0.3);
}

.signin-social img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s;
}

.signin-social img:hover {
    transform: scale(1.1);
}

.signin-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.98em;
    color: #000000;
    font-family: Arial, sans-serif;
}

.signin-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 14px;
    border: 1px solid #000000;
    border-radius: 7px;
    font-size: 1em;
    font-family: Arial, sans-serif;
    background: #fafafa;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.signin-form input:focus {
    outline: none;
}

.signin-form .forgot {
    font-size: 0.92em;
    color: #6b1a2c;
    text-align: left;
    margin-bottom: 12px;
    display: block;
    text-decoration: underline;
    cursor: pointer;
}

.signin-form .btn {
    width: 100%;
    background: #6b1a2c;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 12px 0;
    font-size: 1.08em;
    font-family: 'Tektur', Arial, sans-serif;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(107,26,44,0.08);
    transition: background 0.2s;
}

.signin-form .btn:hover {
    background: #8c2340;
}

.signup-link {
    text-align: center;
    font-size: 1em;
    margin-top: 12px;
    margin-bottom: 20px;
    color: #000000;
    font-family: Arial, sans-serif;
}

.signup-link a {
    color: #6b1a2c;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}

.signup-link a:hover {
    color: #8c2340;
}

.admin-link {
    font-family: 'Aquarium Kulit', sans-serif;
    display: flex;
    justify-content: center;
    font-size: large;
    position: relative;
   /* top: 20px;*/
    color: #6b1a2c;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 10px;
}

.admin-link:hover {
    color: #8c2340;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .signin-container {
        max-width: 85%;
        padding: 12px 10px;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .signin-logo {
        width: 55px;
    }

    .signin-title {
        font-size: 1.3em;
        margin-bottom: 6px;
    }

    .signin-social {
        gap: 14px;
        margin-bottom: 8px;
    }

    .signin-social img {
        width: 28px;
        height: 28px;
    }

    .signin-or {
        font-size: 0.85em;
        margin-bottom: 8px;
    }

    .signin-form label {
        font-size: 0.8em;
        margin-bottom: 2px;
    }

    .signin-form input {
        font-size: 0.9em;
        padding: 7px;
        border-radius: 7px;
        margin-bottom: 8px;
    }

    .signin-form .btn {
        font-size: 0.9em;
        padding: 9px;
        border-radius: 5px;
        margin-top: 3px;
    }

    .signup-link {
        font-size: 0.8em;
        margin-top: 6px;
    }
}

@media (max-height: 700px) {
    .signin-container {
        transform: scale(0.9);
        transform-origin: top center;
    }
}
@media (max-height: 500px) {
    .signin-container {
        transform: scale(0.8);
        transform-origin: top center;
    }
}
@media (max-height: 400px) {
    .signin-container {
        transform: scale(0.7);
        transform-origin: top center;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 90%;
    max-width: 400px;
    border-radius: 10px;
    position: relative;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    box-sizing: border-box;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #0056b3;
}

.btn-cancel {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-cancel:hover {
    background-color: #5a6268;
}

/* Reset Password Styles */
.logo {
    width: 80px;
    height: 80px;
    margin-bottom: 30px;
}

.login-container {
    background: white;
    border-radius: 16px;
    padding: 40px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.title {
    color: #6b1a2c;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.2;
    font-family: 'Aquarium Kulit', sans-serif;
}

.subtitle {
    color: #6b1a2c;
    font-size: 16px;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.5;
}

.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    display: none;
}

.success-message.show {
    display: block;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #6b1a2c;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: block;
}

.error-message.show {
    display: block;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s;
    outline: none;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
}

.form-input.error {
    border-color: #dc3545;
}

.input-error {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.input-error.show {
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 16px;
    background: #6b1a2c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #7a2450;
}

.btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.back-to-login {
    text-align: center;
    margin-top: 25px;
    font-size: 15px;
    color: #666;
}

.back-to-login a {
    color: #6b1a2c;
    text-decoration: none;
    font-weight: 600;
    text-decoration: underline;
}

.back-to-login a:hover {
    text-decoration: underline;
}

.footer-text {
    color: #6b1a2c;
    font-size: 18px;
    font-weight: 600;
    margin-top: 30px;
    text-align: center;
}

/* Error and Success Message Classes */
.error-message strong {
    display: block;
    margin-bottom: 5px;
}

.error-message ul {
    margin: 5px 0;
    padding-left: 20px;
}

.success-message {
    color: green;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid green;
    border-radius: 4px;
}

.status-message {
    color: green;
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid green;
    border-radius: 4px;
    position: relative;
    padding-right: 30px;
}

.status-message .message-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: green;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-message .message-close:hover {
    color: #0056b3;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #6b1a2c;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    display: block;
    position: relative;
    padding-right: 30px;
}

.error-message .message-close {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 18px;
    color: #6b1a2c;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-message .message-close:hover {
    color: #8b0000;
}

@media (max-width: 640px) {
    .login-container {
        padding: 30px 25px;
    }

    .title {
        font-size: 28px;
    }

    .logo {
        width: 70px;
        height: 70px;
    }
}