* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

html {
    height: 100%;
    width: 100%;
}

body {
    background: url('Image/BG.png') no-repeat center center/cover;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-attachment: fixed;
    min-height: 100vh;
    overflow-x: hidden;
}

.logo-txt {
    font-size: 40px;
    font-weight: bold;
    color: #ff8800;
}

.header {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1000;
    padding: 20px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none; /* Allow clicks to pass through the header area */
}

.back-btn {
    background: rgba(46, 46, 46, 0.9);
    padding: 12px 24px;
    border: 2px solid #ff8800;
    border-radius: 8px;
    color: #ff8800;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    font-size: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    pointer-events: auto; /* Re-enable clicks for the button itself */
}

.back-btn:hover {
    background: #ff8800;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 136, 0, 0.3);
}


.container {
    width: 100%;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box; 
}

.login-box {
    background: rgba(46, 46, 46, 0.8);
    padding: 30px;
    border-radius: 20px;
    color: white;
    width: 100%;
    max-width: 850px;
    text-align: left;
    margin: 0 auto;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; 
}

.section-title {
    color: #ff8800;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
    padding-bottom: 5px;
    position: relative;
    display: block;
    text-align: left;
}

.section-title:after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #ff8800;
    bottom: 0;
    left: 0;
}

.section-title:before {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #ff8800;
    border-radius: 50%;
    bottom: -3px;
    left: 0;
    z-index: 1;
}

.form-row {
    display: flex;
    margin: 0;
    position: relative;
}

.form-col {
    flex: 1;
    padding: 0 25px;
    min-width: 300px;
}
.form-row.single-column {
    display: block;
}

.form-col.full-width {
    width: 100%;
    max-width: 800px; /* Increased from 600px */
    margin: 0 auto;
}

.vertical-divider {
    width: 2px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.05), rgba(255, 136, 0, 0.6), rgba(255, 255, 255, 0.05));
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1px;
}

h2 {
    color: #ff8800;
    text-align: center;
    margin-bottom: 25px;
    font-size: 32px;
    line-height: 1.2;
}

.input-box, .input-box1 {
    display: flex;
    align-items: center;
    background: rgba(46, 46, 46, 0.3);
    padding: 12px 15px;
    border-radius: 6px;
    border: 1px solid white;
    margin: 12px 0;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.input-box input, .input-box1 input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 5px;
    font-size: 16px;
    width: calc(100% - 40px);
}

.input-box input::placeholder, .input-box1 input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.input-box i:first-child, .input-box1 i:first-child {
    color: white;
    width: 20px;
    text-align: center;
    margin-right: 12px;
}

#togglePassword, #toggleConfirmPassword {
    cursor: pointer;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    color: white;
}

.password-strength {
    font-size: 12px;
    margin-top: -8px;
    margin-bottom: 8px;
    padding: 2px 5px;
    border-radius: 3px;
}

.password-strength.weak {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.password-strength.medium {
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
}

.password-strength.strong {
    color: #44ff44;
    background: rgba(68, 255, 68, 0.1);
}

.register button {
    width: 100%;
    padding: 14px;
    background: #ff8800;
    border: none;
    color: #ffffff;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 25px;
    margin-bottom: 6px;
    transition: all 0.3s ease-in-out;
    letter-spacing: 0.5px;
}

.register button:hover {
    background: lightgray;
    color: #ff8800;
}

.success-message {
    background-color: rgba(40, 167, 69, 0.7);
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.error-message {
    background-color: rgba(220, 53, 69, 0.7);
    padding: 12px;
    border-radius: 5px;
    margin-bottom: 20px;
    text-align: center;
}

.g-recaptcha {
    margin: 20px auto; /* Center it */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    background: rgba(46, 46, 46, 0.3);
    border: 1px solid rgba(255, 136, 0, 0.5);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: fit-content; /* Only as wide as needed */
}

.g-recaptcha:hover {
    border-color: #ff8800;
    box-shadow: 0 6px 16px rgba(255, 136, 0, 0.2);
}

.g-recaptcha > div {
    border-radius: 6px;
    overflow: hidden;
    border: 2px solid rgba(255, 136, 0, 0.3);
    transition: all 0.3s ease;
}

.g-recaptcha > div:hover {
    border-color: #ff8800;
}

/* For dark theme compatibility */
.g-recaptcha iframe {
    filter: brightness(0.9) contrast(1.1);
    border-radius: 4px;
}

.address-row {
    display: flex;
    gap: 20px; /* Increased gap for better spacing */
    margin: 12px 0;
}

.address-col {
    flex: 1;
}

.address-col .input-box {
    margin: 0;
}

/* Full-width fields */
.full-width-field {
    width: 100%;
    margin: 12px 0;
}

.register button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.register button:disabled:hover {
    background: #ff8800;
    color: #ffffff;
    transform: none;
}

/* Enhanced Progress Indicator - Always Single Row */
.progress-container {
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

.progress-steps {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 10px;
}

.step {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: relative;
    flex-shrink: 0; /* Prevent shrinking */
    transition: all 0.3s ease;
}

.step.active {
    background: #ff8800;
    transform: scale(1.1);
}

.step.completed {
    background: #28a745;
}

.step-connector {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    min-width: 30px;
    transition: all 0.3s ease;
}

.step-connector.completed {
    background: #28a745;
}

.step-label {
    color: #ccc;
    font-size: 18px;
    margin-top: 10px;
    font-weight: 500;
}


.step:not(.completed):not(.active):hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 15px;
    width: 95%;
    max-width: 800px; /* Increased from 600px */
    margin: 20px auto 0 auto;
}

.nav-btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 0;
    width: 90%; /* Make button 5% wider */
  
}

.btn-back {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-next {
    background: linear-gradient(135deg, #ff8800 0%, #ffaa33 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 136, 0, 0.3);
}

.btn-next:hover:not(:disabled) {
    background: linear-gradient(135deg, #ffaa33 0%, #ff8800 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 136, 0, 0.4);
}

.field-label {
    display: block;
    color: #ff8800;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    margin-left: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
}

.terms-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 136, 0, 0.3);
    border-radius: 10px;
    padding: 25px;
    margin: 20px 0;
    max-height: 250px; 
    overflow-y: auto;
    max-width: 100%;
}

.terms-container h3 {
    color: #ff8800;
    margin-top: 0;
    margin-bottom: 15px;
}

.terms-container p, .terms-container ul {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ddd;
}

.terms-container ul {
    padding-left: 20px;
}

.terms-container li {
    margin-bottom: 8px;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin: 20px 0;
    gap: 12px;
    max-width: 100%; /* Use full width */
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #ff8800;
}

.checkbox-container label {
    color: #ddd;
    cursor: pointer;
    line-height: 1.4;
    flex: 1;
}

.checkbox-container label a {
    color: #ff8800;
    text-decoration: underline;
}

.checkbox-container label a:hover {
    color: #ffaa33;
}

/* Email Verification Modal Styles */
.verification-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.verification-modal-content {
    background: linear-gradient(135deg, #2e2e2e 0%, #3a3a3a 100%);
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 136, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
    color: white;
    text-align: center;
    position: relative;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.verification-modal .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 1;
}

.verification-modal .close:hover,
.verification-modal .close:focus {
    color: #ff8800;
    text-decoration: none;
}

.verification-modal h2 {
    color: #ff8800;
    margin-bottom: 20px;
    font-size: 28px;
}

.verification-modal p {
    color: #ccc;
    margin-bottom: 25px;
    line-height: 1.5;
}

.verification-modal .input-box {
    margin: 20px 0;
    text-align: left;
}

.verification-modal button {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #ff8800 0%, #ffaa33 100%);
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 136, 0, 0.3);
    margin-top: 10px;
}

.verification-modal button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 136, 0, 0.4);
}

.verification-modal button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.verification-modal .message {
    padding: 12px;
    border-radius: 8px;
    margin: 15px 0;
    text-align: center;
    font-weight: 500;
}

.verification-modal .success {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.verification-modal .error {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid #f44336;
}

/* Dropdown styling */
select.dropdown {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    padding: 5px;
    font-size: 16px;
    width: calc(100% - 40px);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'><path fill='white' d='M2 0L0 2h4zM0 3l2 2 2-2z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px 12px;
    cursor: pointer;
}

select.dropdown option {
    background: #2e2e2e;
    color: white;
    padding: 10px;
}

/* ===== MOBILE RESPONSIVE MEDIA QUERIES ===== */

/* Large Tablets and Small Desktops */
@media screen and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding: 15px;
    }
    
    .login-box {
        max-width: 750px;
        padding: 25px;
    }
    
    .form-col.full-width {
        max-width: 700px;
    }
}

/* Tablets */
@media screen and (max-width: 768px) {
    body {
        padding: 10px;
        background-attachment: scroll; /* Better performance on mobile */
    }
    
    .header {
        padding: 15px;
    }
    
    .back-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .container {
        max-width: 100%;
        padding: 10px;
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 80px; /* Account for header */
    }
    
    .login-box {
        max-width: 100%;
        padding: 20px;
        margin: 0;
        border-radius: 15px;
    }
    
    .form-col.full-width {
        max-width: 100%;
        padding: 0;
    }
    
    .form-col {
        padding: 0 15px;
        min-width: auto;
    }
    
    /* Progress indicator adjustments */
    .progress-steps {
        max-width: 400px;
        padding: 0 20px;
    }
    
    .step {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-connector {
        min-width: 20px;
    }
    
    .step-label {
        font-size: 13px;
    }
    
    /* Navigation buttons */
    .form-navigation {
        flex-direction: column;
        gap: 10px;
        max-width: 100%;
    }
    
    .nav-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 16px;
    }
    
    /* Address row - stack on tablet */
    .address-row {
        flex-direction: column;
        gap: 0;
    }
    
    .address-col {
        width: 100%;
    }
    
    .address-col .input-box {
        margin: 12px 0;
    }
    
    /* Terms container */
    .terms-container {
        max-height: 200px;
        padding: 20px;
    }
    
    /* Verification modal */
    .verification-modal-content {
        margin: 10% auto;
        width: 95%;
        max-width: 450px;
        padding: 25px;
    }
    
    .verification-modal h2 {
        font-size: 24px;
    }
}

/* Large Mobile Phones */
@media screen and (max-width: 480px) {
    .container {
        padding: 5px;
        padding-top: 70px;
    }
    
    .login-box {
        padding: 15px;
        border-radius: 10px;
        margin: 5px;
    }
    
    .section-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    /* Input boxes */
    .input-box, .input-box1 {
        padding: 10px 12px;
        margin: 10px 0;
    }
    
    .input-box input, .input-box1 input {
        font-size: 14px;
        padding: 3px;
    }
    
    .input-box i:first-child, .input-box1 i:first-child {
        margin-right: 10px;
        font-size: 14px;
    }
    
    /* Progress indicator */
    .progress-steps {
        max-width: 300px;
        padding: 0 10px;
    }
    
    .step {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    
    .step-connector {
        min-width: 15px;
    }
    
    .step-label {
        font-size: 12px;
        margin-top: 8px;
    }
    
    /* Form navigation */
    .form-navigation {
        margin-top: 15px;
        gap: 8px;
    }
    
    .nav-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    /* Address fields - ensure they stack properly */
    .address-row {
        margin: 8px 0;
    }
    
    .address-col .input-box {
        margin: 8px 0;
    }
    
    /* Terms and conditions */
    .terms-container {
        max-height: 180px;
        padding: 15px;
        font-size: 14px;
    }
    
    .terms-container h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .terms-container h4 {
        font-size: 14px;
        margin-top: 12px;
        margin-bottom: 8px;
    }
    
    .checkbox-container {
        margin: 15px 0;
        gap: 10px;
    }
    
    .checkbox-container input[type="checkbox"] {
        width: 16px;
        height: 16px;
        margin-top: 2px;
    }
    
    .checkbox-container label {
        font-size: 14px;
        line-height: 1.3;
    }
    
    /* reCAPTCHA container */
    .g-recaptcha {
        padding: 10px;
        margin: 15px auto;
    }
    
    /* Full width field adjustments */
    .full-width-field {
        margin: 10px 0;
    }
    
    /* Verification modal */
    .verification-modal-content {
        margin: 5% auto;
        width: 95%;
        max-width: 400px;
        padding: 20px;
    }
    
    .verification-modal h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .verification-modal p {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .verification-modal button {
        font-size: 16px;
        padding: 10px;
    }
    
    .verification-modal .close {
        font-size: 24px;
        top: 10px;
        right: 15px;
    }
}

/* Small Mobile Phones */
@media screen and (max-width: 375px) {
    .container {
        padding: 5px;
        padding-top: 60px;
    }
    
    .login-box {
        padding: 12px;
        margin: 2px;
    }
    
    .back-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    
    .section-title {
        font-size: 15px;
        margin-bottom: 10px;
    }
    
    /* Smaller input boxes */
    .input-box, .input-box1 {
        padding: 8px 10px;
        margin: 8px 0;
    }
    
    .input-box input, .input-box1 input {
        font-size: 13px;
    }
    
    /* Even smaller progress indicator */
    .progress-steps {
        max-width: 250px;
        padding: 0 5px;
    }
    
    .step {
        width: 25px;
        height: 25px;
        font-size: 11px;
    }
    
    .step-connector {
        min-width: 12px;
    }
    
    .step-label {
        font-size: 11px;
        margin-top: 6px;
    }
    
    /* Navigation buttons */
    .nav-btn {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    /* Terms container */
    .terms-container {
        max-height: 150px;
        padding: 12px;
        font-size: 13px;
    }
    
    .terms-container h3 {
        font-size: 15px;
    }
    
    .terms-container h4 {
        font-size: 13px;
    }
    
    /* Checkbox */
    .checkbox-container {
        margin: 12px 0;
        gap: 8px;
    }
    
    .checkbox-container input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }
    
    .checkbox-container label {
        font-size: 13px;
    }
    
    /* Verification modal */
    .verification-modal-content {
        margin: 2% auto;
        width: 98%;
        max-width: 350px;
        padding: 15px;
    }
    
    .verification-modal h2 {
        font-size: 18px;
    }
    
    .verification-modal p {
        font-size: 13px;
    }
    
    .verification-modal button {
        font-size: 14px;
        padding: 8px;
    }
}

/* Extra Small Screens */
@media screen and (max-width: 320px) {
    .container {
        padding: 3px;
        padding-top: 55px;
    }
    
    .login-box {
        padding: 10px;
        margin: 1px;
    }
    
    .back-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .section-title {
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .input-box, .input-box1 {
        padding: 6px 8px;
        margin: 6px 0;
    }
    
    .input-box input, .input-box1 input {
        font-size: 12px;
    }
    
    .progress-steps {
        max-width: 220px;
    }
    
    .step {
        width: 22px;
        height: 22px;
        font-size: 10px;
    }
    
    .step-connector {
        min-width: 10px;
    }
    
    .step-label {
        font-size: 10px;
        margin-top: 5px;
    }
    
    .nav-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .terms-container {
        max-height: 130px;
        padding: 10px;
        font-size: 12px;
    }
    
    .checkbox-container label {
        font-size: 12px;
    }
    
    .verification-modal-content {
        padding: 12px;
    }
    
    .verification-modal h2 {
        font-size: 16px;
    }
    
    .verification-modal p {
        font-size: 12px;
    }
}

/* Landscape orientation adjustments for mobile */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .container {
        padding-top: 50px;
        min-height: auto;
    }
    
    .login-box {
        margin-top: 10px;
        margin-bottom: 20px;
    }
    
    .progress-container {
        margin-bottom: 15px;
    }
    
    .terms-container {
        max-height: 120px;
    }
    
    .verification-modal-content {
        margin: 2% auto;
        max-height: 90vh;
        overflow-y: auto;
    }
}

/* Ensure center alignment is maintained */
@media screen and (max-width: 768px) {
    .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 100%;
        min-height: calc(100vh - 60px); /* Account for header */
    }
    
    .login-box {
        width: 100%;
        max-width: 500px;
        margin: auto;
    }
}

/* Fix for very wide mobile screens */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .login-box {
        max-width: 600px;
    }
    
    .form-col.full-width {
        max-width: 550px;
    }
}

@media screen and (max-width: 768px) {
    .field-label {
        font-size: 13px;
        margin-bottom: 5px;
    }
}

@media screen and (max-width: 480px) {
    .field-label {
        font-size: 12px;
        margin-bottom: 4px;
    }
}

.password-strength-enhanced {
    margin: 0;
    padding: 0;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 68, 68, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transform: translateY(-5px);
}

.password-strength-enhanced.show {
    opacity: 1;
    max-height: 100px;
    padding: 8px 12px;
    margin-top: 6px;
    margin-bottom: 8px;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.strength-bar,
.strength-text {
    display: none;
}

/* Strength Bar Container */
.strength-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
    position: relative;
}

/* Animated Progress Bar */
.strength-progress {
    height: 100%;
    width: 0%;
    border-radius: 3px;
    transition: all 0.3s ease;
    position: relative;
}

/* Progress Bar Colors */
.strength-progress.very-weak {
    background: linear-gradient(90deg, #ff4444, #ff6666);
    box-shadow: 0 0 8px rgba(255, 68, 68, 0.3);
}

.strength-progress.weak {
    background: linear-gradient(90deg, #ff8800, #ffaa33);
    box-shadow: 0 0 8px rgba(255, 136, 0, 0.3);
}

.strength-progress.fair {
    background: linear-gradient(90deg, #ffaa00, #ffcc33);
    box-shadow: 0 0 8px rgba(255, 170, 0, 0.3);
}

.strength-progress.good {
    background: linear-gradient(90deg, #88cc00, #aaff33);
    box-shadow: 0 0 8px rgba(136, 204, 0, 0.3);
}

.strength-progress.strong {
    background: linear-gradient(90deg, #44ff44, #66ff88);
    box-shadow: 0 0 8px rgba(68, 255, 68, 0.3);
}

.strength-text {
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ccc;
    transition: all 0.3s ease;
}

.strength-text.very-weak {
    color: #ff4444;
    text-shadow: 0 0 8px rgba(255, 68, 68, 0.3);
}

.strength-text.weak {
    color: #ff8800;
    text-shadow: 0 0 8px rgba(255, 136, 0, 0.3);
}

.strength-text.fair {
    color: #ffaa00;
    text-shadow: 0 0 8px rgba(255, 170, 0, 0.3);
}

.strength-text.good {
    color: #88cc00;
    text-shadow: 0 0 8px rgba(136, 204, 0, 0.3);
}

.strength-text.strong {
    color: #44ff44;
    text-shadow: 0 0 8px rgba(68, 255, 68, 0.3);
}

.password-requirements {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
    margin-top: 8px;
}

.requirement {
    display: flex;
    align-items: center;
    font-size: 11px;
    padding: 2px 4px;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.requirement i {
    margin-right: 6px;
    font-size: 10px;
    transition: all 0.3s ease;
}

.requirement span {
    color: #ff6666;
    font-weight: 500;
    transition: all 0.3s ease;
}

.requirement.unmet i {
    color: #ff4444;
}

.requirement.unmet span {
    color: #ccc;
}

.requirement.met {
    display: none;
}

.requirement.unmet {
    display: flex;
}

.requirement.unmet i {
    color: #ff4444;
}

.requirement.unmet span {
    color: #ff6666;
}

.password-strength-enhanced.all-met {
    opacity: 0;
    max-height: 0;
    padding: 0;
    margin: 0;
    transform: translateY(-5px);
}

@keyframes checkmark {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.strength-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.3;
    }
    50% {
        transform: scaleX(1.05);
        opacity: 0.1;
    }
}

@media screen and (max-width: 768px) {
    .password-requirements {
        grid-template-columns: 1fr;
        gap: 4px;
    }
    
    .requirement {
        font-size: 10px;
        padding: 3px;
    }
    
    .requirement i {
        font-size: 11px;
        margin-right: 5px;
    }
    
    .strength-text {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .password-strength-enhanced {
        padding: 10px;
    }
}

@media screen and (max-width: 480px) {
    .strength-bar {
        height: 5px;
        margin-bottom: 6px;
    }
    
    .strength-text {
        font-size: 11px;
        margin-bottom: 6px;
    }
    
    .requirement {
        font-size: 9px;
        padding: 2px;
    }
    
    .requirement i {
        font-size: 10px;
        margin-right: 4px;
    }
    
    .password-strength-enhanced {
        padding: 8px;
        margin-top: 6px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 768px) {
    .requirement {
        font-size: 10px;
        padding: 1px 3px;
    }
    
    .requirement i {
        font-size: 9px;
        margin-right: 5px;
    }
    
    .password-strength-enhanced.show {
        padding: 6px 10px;
        margin-top: 4px;
        margin-bottom: 6px;
    }
}

.password-requirements.hidden {
    display: none;
}

.input-box input[type="password"]:focus ~ .password-strength-enhanced .password-requirements {
    display: grid;
}

.password-requirements {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.password-requirements.fade-in {
    animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.password-strength {
    display: none;
}