/* =======================
   GLOBAL
======================= */
body {
    background: linear-gradient(135deg, #eaf6ff, #fff8dc);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* =======================
   SIGNUP FORM
======================= */
#membershipForm {
    max-width: 600px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    padding: 30px 28px;
    border-radius: 14px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid #dbeafe;
    gap: 20px;
}

#membershipForm h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: #e40014;
    margin: 0;
}
#membershipForm p,#membershipForm legend{
    color: #000000;
}
#membershipForm input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #dbeafe;
    font-size: 15px;
    background: #f8fbff;
    transition: all 0.2s ease;
}

#membershipForm input:focus {
    outline: none;
    border-color: #3b82f6;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

#membershipForm input[type="file"] {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    padding: 10px;
    cursor: pointer;
    color: #64748b;
}

#membershipForm .password-field {
    position: relative;
}

.cricket-club {
    display: none;
}

#membershipForm .eye {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 16px;
    color: #3b82f6;
}

#membershipForm button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s ease;
}

#membershipForm button:hover {
    background: #357abd;
}

#membershipForm .msg {
    font-size: 14px;
    border-radius: 8px;
}

#membershipForm .spinner {
    width: 18px;
    height: 18px;
    border: 3px solid #ccc;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    display: inline-block;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    100% { transform: rotate(360deg); }
}


#membershipForm .msg:not(:empty) {
    background: #fff8dc;
    border: 1px solid #facc15;
    color: #92400e;
}
#membershipForm fieldset {
    border: 0px;
    margin: 0px;
    padding: 0px;
    border-radius: 0px;
}
#membershipForm .checkbox input{
    position: relative;
    width: 10px;
    height: 10px;
    padding: 10px;
}
#membershipForm input[type="checkbox"]:checked:before {
    content: "✔";
    font-weight: 900;
    top: 50%;
    color: var(--dt-main-color);
    position: absolute;
    left: 50%;
    margin: 0px;
    transform: translate(-50%,-50%);
}
#membershipForm input[type="radio"]:checked:before{
    content: "✔" !important;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%,-50%);
    margin: 0px !important;
}


#membershipForm legend {
    font-size: 18px;
    line-height: 22px;
    margin-bottom: 10px;
}
/* =======================
   OTP FORM
======================= */
.otp-container {
    background: #ffffff;
    padding: 40px 30px;
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    margin: 60px auto;
    text-align: center;
}

.otp-container .header-icon {
    width: 150px;
}

.otp-container h2 {
    font-size: 28px;
    /*color: #e50014;*/
    margin: 0 0 15px;
}

.otp-container input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
}

.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 25px;
}

.otp-field {
    width: 40px;
    height: 40px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border-radius: 8px;
    border: none;
    background: #f0f0f0;
    color: #333;
    padding: 0px !important;
}

.otp-field:focus,
.otp-container input[type="email"]:focus {
    outline: 2px solid #e50014;
    background: #ffffff;
}

.otp-container button {
    width: 100%;
    padding: 14px;
    background: #3b82f6;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.otp-container button:hover {
    background: #e50014;
}

.otp-msg {
    margin-top: 15px;
    font-size: 13px;
    color: #666;
}

/* =======================
   RESPONSIVE
======================= */
@media (max-width: 480px) {
    #membershipForm,
    .otp-container {
        margin: 30px 16px;
    }
}

 