    @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,
.signup-container {
    position: relative;
    z-index: 1;
}

.logo-link {
    display: block;
    text-align: center;
    margin: 10px auto 24px;
    width: fit-content;
}

.signup-logo {
    width: 80px;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.signup-container {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 768px;
    margin: 0 auto;
    padding: 24px;
    border: 1px solid #e0e0e0;
}
 .signup-form {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    .form-row {
    display: flex;
    flex-direction: column;
}
     .form-column {
        display: flex;
        flex-direction: column;
    }

.signup-title {
    font-family: 'Aquarium Kulit', sans-serif;
    color: #6b1a2c;
    text-align: center;
      font-size: 2em;
    margin-bottom: 12px;
    font-weight: bold;
    letter-spacing: 1px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.signup-or {
    text-align: center;
    font-size: 1em;
    color: #6b1a2c;
    margin-bottom: 18px;
    font-family: 'Tektur', sans-serif;
    font-weight: bold;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.signup-social {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-bottom: 18px;
    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);
}

.signup-social img {
    width: 40px;
    height: 40px;
    cursor: pointer;
    transition: transform 0.2s;
}

.signup-social img:hover {
    transform: scale(1.1);
}

.signup-form label {
    display: block;
    margin-bottom: 4px;
    font-size: 0.98em;
    color: #000000;
    font-family: Arial, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.signup-form input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    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;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.signup-form input:focus {
    border-color: #6b1a2c;
    outline: none;
}

.signup-form .forgot {
    font-size: 0.92em;
    color: #6b1a2c;
    text-align: left;
    margin-bottom: 12px;
    display: block;
    text-decoration: underline;
    cursor: pointer;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.signup-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;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.signup-form .btn:hover {
    background: #8c2340;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.signin-link {
    text-align: center;
    font-size: 1em;
    margin-top: 12px;
    color: #000000;
    font-family: Arial, sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.signin-link a {
    color: #6b1a2c;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}

.signin-link a:hover {
    color: #8c2340;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
}
@media (max-width: 768px) {
    .signup-container {
        max-width: 85%;
        padding: 12px 10px;
        border-radius: 8px;
        box-sizing: border-box;
    }

    .signup-logo {
        width: 55px;
    }

    .signup-title {
        font-size: 1.3em;
        margin-bottom: 6px;
    }

    .signup-social {
        gap: 14px;
        margin-bottom: 8px;
    }

    .signup-social img {
        width: 28px;
        height: 28px;
    }

    .signup-or {
        font-size: 0.85em;
        margin-bottom: 8px;
    }

    .form-row {
        display: block;
        gap: 8px;
    }

    .signup-form label {
        font-size: 0.8em;
        margin-bottom: 2px;
    }

    .signup-form input {
        font-size: 0.9em;
        padding: 7px;
        border-radius: 5px;
        margin-bottom: 8px;
    }

    .signup-form .btn {
        font-size: 0.9em;
        padding: 9px;
        border-radius: 5px;
        margin-top: 3px;
    }

    .signin-link {
        font-size: 0.8em;
        margin-top: 6px;
    }
}

@media (max-height: 700px) {
    .signup-container {
        transform: scale(0.9);
        transform-origin: top center;
    }
}
@media (max-height: 500px) {
    .signup-container {
        transform: scale(0.8);
        transform-origin: top center;
    }
}
@media (max-height: 400px) {
    .signup-container {
        transform: scale(0.7);
        transform-origin: top center;
    }
}

/* Terms & Conditions Checkbox Styles */
.terms-checkbox-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -8px 0 2px 0;
    padding: 6px;
    background: #f8f9fa;
    border-radius: 4px;
    border: 1px solid #e9ecef;
}

.terms-checkbox-container input[type="checkbox"] {
    width: auto;
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    margin-bottom: 0;
}

.terms-checkbox-container label {
    margin: 0;
    font-size: 0.9em;
    line-height: 1.4;
    color: #333;
    font-family: Arial, sans-serif;
    cursor: pointer;
    word-wrap: break-word;
    overflow-wrap: break-word;
    word-break: break-word;
    display: inline;
}

.terms-checkbox-container label a {
    color: #6b1a2c;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s;
}

.terms-checkbox-container label a:hover {
    color: #8c2340;
    text-decoration: none;
}

/* Modal Styles - Same as Main Page */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    animation: fadeIn 0.3s;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: #fff;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.4s;
    position: relative;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-content h2 {
    background: linear-gradient(135deg, #6b1a2c 0%, #3a232b 100%);
    color: #fff;
    padding: 25px 30px;
    margin: 0;
    border-radius: 12px 12px 0 0;
    font-size: 1.8em;
    font-family: 'Tektur', sans-serif;
}

.modal-body {
    padding: 30px;
    max-height: 60vh;
    overflow-y: auto;
    line-height: 1.7;
}

.modal-body h3 {
    color: #6b1a2c;
    margin-top: 25px;
    margin-bottom: 12px;
    font-size: 1.2em;
    border-left: 4px solid #6b1a2c;
    padding-left: 12px;
}

.modal-body p {
    margin-bottom: 15px;
    color: #333;
}

.modal-body ul {
    margin: 10px 0 20px 20px;
    line-height: 1.8;
}

.modal-body ul li {
    margin-bottom: 8px;
    color: #555;
}

.modal-body strong {
    color: #6b1a2c;
}

.close {
    position: absolute;
    right: 20px;
    top: 20px;
    color: #fff;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s, color 0.3s;
    line-height: 1;
    z-index: 1;
}

.close:hover,
.close:focus {
    color: #ffcccc;
    transform: rotate(90deg);
}

/* Custom Scrollbar for Modal */
.modal-body::-webkit-scrollbar {
    width: 8px;
}

.modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #6b1a2c;
    border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: #8b2a3c;
}

/* Responsive Modal Styles */
@media (max-width: 768px) {
    .terms-checkbox-container {
        flex-direction: row;
        gap: 8px;
        padding: 10px;
    }
    
    .terms-checkbox-container input[type="checkbox"] {
        margin: 0;
    }
    
    .terms-checkbox-container label {
        font-size: 0.85em;
        display: inline;
    }
}

@media (max-width: 500px) {
    .modal-content {
        width: 95%;
    }

    .modal-content h2 {
        font-size: 1.4em;
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
        max-height: 50vh;
    }
}