.registration-container {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.reg-block-account,
.reg-success-block {
    position: relative;
    padding: 10% 0;
    height: 100%;
    display: flex;
    align-items: center;
}

span.required {
    color: red;
}

.reg-block-account::before,
.reg-success-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://inkk.com.fj/wp-content/uploads/2025/06/bg_register.jpg');
    background-size: cover;
    background-position: right;
    background-repeat: no-repeat;
    z-index: -1;
}

.main-reg-logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 639px;
    width: 70%;
    max-width: 1200px;
    border-radius: 1.5rem;
    margin: auto;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 44%;
    border-radius: 1.5rem 0rem 0rem 1.5rem;
    background-image: url(https://inkk.com.fj/wp-content/uploads/2025/04/leftbg-e1734604553674-1.png);
    
    background-position: center;
    background-size: cover;
    box-sizing: border-box;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    width: 170px;
    border-radius: 50%;
    padding: 2rem;
    transition: transform 0.5s;
    background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 205.59, color-stop(0, rgba(96, 185, 70, 1)), color-stop(0.1008, rgba(87, 185, 72, 1)), color-stop(0.2685, rgba(61, 185, 78, 1)), color-stop(0.481, rgba(20, 185, 88, 1)), color-stop(0.573, rgba(0, 185, 93, 1)), color-stop(1, rgba(0, 149, 107, 1)));
}

.form-section {
    gap: 10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background-color: #fff;
    height: 100%;
    width: 56%;
    border-radius: 0rem 1.5rem 1.5rem 0rem;
    padding: 2rem 2rem 1rem 2rem;
    box-sizing: border-box;
}

.form-section h2 {
    font-size: 22px;
    color: #4C4C4C !important;
}

.form-section p {
    font-size: 13px;
    color: #4C4C4C;
}

.divider {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 100%;
}

.divider div {
    width: 30vh;
    border-bottom: 2px solid #E1E1E1;
}

.registration-container form .form-reg {
    display: flex;
    gap: 20px;
}

.registration-container form .form-field {
    flex-direction: column;
    width: 100%;
    display: flex;
    gap: 8px;
}

.registration-container form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.registration-container label {
    font-size: 13.5px;
    color: rgb(78, 76, 76);
    margin-left: 2px;
}

.registration-container form input {
    height: 2.2rem;
    border: 1px solid #E1E1E1;
    border-radius: 0.3rem;
}

::placeholder {
    color: #a5a5a5;
    font-size: 12px;
}

.form-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.submit-btn {
    margin-top: 10px;
    height: 2.4rem;
    width: 100%;
    border: none;
    border-radius: 9px;
    color: white;
    transition: transform 0.4s, box-shadow 0.4s;
    background: linear-gradient(90deg, rgba(96, 185, 70, 1) 0%, rgba(92, 185, 79, 1) 15.56%, rgba(80, 185, 105, 1) 41.35%, rgba(71, 185, 123, 1) 56.74%, rgba(0, 181, 107, 1) 86.52%, rgba(0, 181, 150, 1) 99.44%);
    cursor: pointer;
}

.login-link {
    text-align: center;
    margin-top: 1rem;
    font-size: 12px;
    color: #555;
}

.login-link a {
    color: #007a33;
    text-decoration: none;
}

.check {
    font-size: 13px;
    color: rgb(78, 76, 76);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 5px;
}

.check .terms a {
    color: rgb(0, 132, 255);
    text-decoration: none;
}

.otp-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.otp-popup-content {
    background: white;
    padding: 25px;
    border-radius: 10px;
    max-width: 400px;
    position: relative;
    text-align: center;
}

.otp-popup-content h3 {
    margin-bottom: 15px;
    font-weight: 600;
}

.otp-popup-content .form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    gap: 5px;
}

.otp-popup-content input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.otp-popup-content button {
    background: #4CAF50;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
}

.otp-popup-content button:hover {
    background: #43a047;
}

.otp-popup-content .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.otp-popup-content .resend-otp {
    display: none;
    margin-top: 15px;
    color: #007a33;
    text-decoration: none;
    font-size: 13px;
}

.otp-error {
    color: red;
    font-size: 12px;
    margin-bottom: 1rem;
}

.otp-success {
    color: green;
    font-size: 12px;
    margin-bottom: 1rem;
}

.alert {
    margin-bottom: 1rem;
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 500;
}

.alert.error {
    background: #ffcdd2;
    color: #b71c1c;
}

.alert.success {
    background: #c8e6c9;
    color: #1b5e20;
}

@media screen and (max-width: 1024px) {
    .main-reg-logo-section {
        width: 100%;
        max-width: 100%;
        height: 100%;
        flex-direction: column;
    }

    .logo-section {
        height: 100%;
        width: 100%;
        border-radius: 1.5rem 1.5rem 0 0;
        padding: 1rem;
    }

    .form-section {
        height: 100%;
        width: 100%;
        border-radius: 0 0 1.5rem 1.5rem;
    }
}

@media screen and (max-width: 450px) {
    .reg-block-account::before {
        height: 100%;
    }

    .registration-container form .form-reg {
        flex-direction: column;
    }
}




    .form-field {
        position: relative;
    }
    .toggle-password {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        cursor: pointer;
        color: #666;
    }
    .otp-popup,
    .success-popup {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }
    .otp-popup-content,
    .success-popup-content {
        background: #fff;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 400px;
        position: relative;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        text-align: center;
    }
    .otp-popup-content h3,
    .success-popup-content h3 {
        margin-top: 0;
        color: #333;
    }
    .otp-popup-content p,
    .success-popup-content p {
        color: #666;
        margin-bottom: 20px;
    }
    .otp-popup-content .form-group {
        margin-bottom: 15px;
    }
    .otp-popup-content label {
        display: block;
        margin-bottom: 5px;
        color: #333;
    }
    .otp-popup-content input {
        width: 100%;
        padding: 8px;
        border: 1px solid #ddd;
        border-radius: 4px;
        box-sizing: border-box;
    }
    .otp-popup-content button,
    .success-popup-content button {
        padding: 10px 20px;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 14px;
    }
    .otp-popup-content button[type="submit"],
    .success-popup-content .resend-btn {
        background: #007bff;
        color: #fff;
    }
    .otp-popup-content button[type="submit"]:hover,
    .success-popup-content .resend-btn:hover {
        background: #0056b3;
    }
    .otp-popup-content #otp-timer {
        color: #e74c3c;
        font-weight: bold;
    }
    .otp-popup-content .resend-otp {
        background: #28a745;
    }
    .otp-popup-content .resend-otp:hover {
        background: #218838;
    }
    .close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        color: #999;
        cursor: pointer;
    }
    .close:hover {
        color: #333;
    }

    /* Ensure existing styles are retained if any */
/* Add or update the following styles */

.woocommerce-error, .woocommerce-message {
    color: #ff0000;
    font-size: 14px;
    margin: 10px 0;
    display: block;
}

.woocommerce-error li {
    list-style: none;
    padding: 10px;
    background: #ffe6e6;
    border: 1px solid #ff0000;
    border-radius: 4px;
}

.error.woocommerce-error {
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
}

.otp-popup, .success-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.otp-popup-content, .success-popup-content {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    width: 90%;
    max-width: 400px;
    text-align: center;
}

.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}