#cunnekt-otp-box{
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:12px;
    padding:20px;
    margin:20px 0;
    box-shadow:0 4px 15px rgba(0,0,0,.05);
}

#cunnekt-otp-box h4{
    margin:0 0 15px;
    font-size:18px;
    font-weight:600;
}

#cunnekt-otp-input{
    width:180px;
    height:45px;
    border-radius:8px;
    text-align:center;
    font-size:18px;
    letter-spacing:5px;
}

#cunnekt-send-otp-btn,
#cunnekt-verify-otp-btn{
    height:45px;
    border-radius:8px;
    padding:0 20px;
}

#cunnekt-otp-message{
    margin-top:15px;
    font-weight:500;
}



/*NEW CODE 24 JULY*/
#cunnekt-login-box{
margin-top:25px;
padding:20px;
border:1px solid #ddd;
border-radius:10px;
background:#fff;
}

#cw_login_phone,
#cw_login_otp{
width:100%;
height:46px;
margin-bottom:10px;
}

#cw_login_send_otp,
#cw_login_verify{
width:100%;
height:46px;
}




/*NEW CODE*/


/* =====================================================
   CUNNEKT OTP - PREMIUM ADMIN UI
====================================================== */

.wrap h1{
    font-size:32px;
    font-weight:700;
    margin:25px 0;
    color:#222;
    border-left:5px solid #d4af37;
    padding-left:15px;
}

.form-table{
    width:100%;
    max-width:900px;
    background:#fff;
    border-radius:16px;
    overflow:hidden;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    border-collapse:separate;
    border-spacing:0;
}

.form-table tbody tr{
    border-bottom:1px solid #f3f3f3;
}

.form-table tbody tr:last-child{
    border-bottom:none;
}

.form-table th{
    width:260px;
    padding:22px 25px;
    font-size:15px;
    font-weight:600;
    color:#222;
    background:#fafafa;
    vertical-align:middle;
}

.form-table td{
    padding:18px 25px;
}

.form-table input[type=text],
.form-table input[type=number],
.form-table input[type=password],
.form-table input[type=email],
.form-table select{
    width:100%;
    max-width:450px;
    height:46px;
    border:1px solid #ddd;
    border-radius:10px;
    padding:0 15px;
    font-size:14px;
    transition:.3s;
    background:#fff;
}

.form-table input:focus,
.form-table select:focus{
    border-color:#d4af37;
    box-shadow:0 0 0 4px rgba(212,175,55,.15);
    outline:none;
}

.form-table input[type=checkbox]{
    width:22px;
    height:22px;
    accent-color:#d4af37;
    margin-right:8px;
}

.form-table .description{
    margin-top:8px;
    color:#777;
    font-size:13px;
    line-height:1.6;
}

.submit{
    margin-top:30px;
}

.submit .button-primary{
    background:#d4af37 !important;
    border:none !important;
    color:#fff !important;
    border-radius:12px !important;
    padding:12px 35px !important;
    font-size:15px !important;
    font-weight:600 !important;
    transition:.3s;
    box-shadow:0 8px 20px rgba(212,175,55,.35);
}

.submit .button-primary:hover{
    background:#bf9727 !important;
    transform:translateY(-2px);
    box-shadow:0 12px 30px rgba(212,175,55,.45);
}

/* =====================================================
   FRONTEND OTP BOX
====================================================== */

.cunnekt-login-wrapper,
.cunnekt-register-wrapper,
.cunnekt-otp-wrapper,
#cunnekt-login-wrapper{
    background:#fff;
    border-radius:18px;
    padding:25px;
    border:1px solid #eee;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    margin-top:20px;
}

.cunnekt-login-wrapper h3,
.cunnekt-register-wrapper h3{
    text-align:center;
    margin-bottom:20px;
    font-size:24px;
    color:#222;
}

.cunnekt-login-wrapper input,
.cunnekt-register-wrapper input,
.cunnekt-otp-wrapper input{
    width:100%;
    height:50px;
    border:1px solid #ddd;
    border-radius:12px;
    padding:0 15px;
    margin-bottom:15px;
    transition:.3s;
    background:#fff;
}

.cunnekt-login-wrapper input:focus,
.cunnekt-register-wrapper input:focus,
.cunnekt-otp-wrapper input:focus{
    border-color:#d4af37;
    box-shadow:0 0 0 4px rgba(212,175,55,.12);
    outline:none;
}

.cunnekt-login-wrapper button,
.cunnekt-register-wrapper button,
.cunnekt-otp-wrapper button,
#cunnekt-send-otp,
#cunnekt-verify-otp{
    width:100%;
    height:50px;
    background:#d4af37;
    color:#fff;
    border:none;
    border-radius:12px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}

.cunnekt-login-wrapper button:hover,
.cunnekt-register-wrapper button:hover,
.cunnekt-otp-wrapper button:hover,
#cunnekt-send-otp:hover,
#cunnekt-verify-otp:hover{
    background:#bf9727;
    transform:translateY(-2px);
}

#cunnekt-send-otp{
    margin-bottom:12px;
}

#cunnekt-verify-otp{
    background:#222;
}

#cunnekt-verify-otp:hover{
    background:#000;
}

/* Success */

.cunnekt-success,
.notice-success{
    background:#ecfff1;
    color:#198754;
    border-left:4px solid #198754;
    padding:14px 18px;
    border-radius:10px;
    margin-top:15px;
}

/* Error */

.cunnekt-error,
.notice-error{
    background:#fff2f2;
    color:#dc3545;
    border-left:4px solid #dc3545;
    padding:14px 18px;
    border-radius:10px;
    margin-top:15px;
}

/* Loading */

button.loading{
    opacity:.7;
    cursor:not-allowed;
}

button.loading::after{
    content:"";
    display:inline-block;
    width:16px;
    height:16px;
    margin-left:10px;
    border:2px solid rgba(255,255,255,.4);
    border-top:2px solid #fff;
    border-radius:50%;
    animation:cunnekt-spin .8s linear infinite;
}

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

/* Mobile */

@media(max-width:768px){

    .form-table,
    .form-table tbody,
    .form-table tr,
    .form-table td,
    .form-table th{
        display:block;
        width:100%;
    }

    .form-table th{
        background:none;
        padding:20px 20px 5px;
    }

    .form-table td{
        padding:0 20px 20px;
    }

    .form-table input,
    .form-table select{
        max-width:100%;
    }

    .wrap h1{
        font-size:26px;
    }
}


.cunnekt-login-wrapper > *{
    margin-bottom:20px;
}

.cunnekt-login-wrapper > *:last-child{
    margin-bottom:0;
}

/* Phone input */
#cunnekt-phone,
.cunnekt-login-wrapper input[type="tel"],
.cunnekt-login-wrapper input[type="text"]{
    margin-bottom:18px;
}

/* Send OTP Button */
#cunnekt-send-otp{
    margin-bottom:20px !important;
}

/* OTP Input */
#cunnekt-otp{
    margin-bottom:20px !important;
}

/* Verify Button */
#cunnekt-verify-otp{
    margin-top:5px;
}

/* Success / Error Message */
#cunnekt-message,
.cunnekt-message{
    margin-top:20px;
}






/* ===========================
   LEENZARA OTP MODERN UI
=========================== */

.cunnekt-login-wrapper{
    max-width:700px;
    margin:40px auto;
    background:#fff;
    padding:35px;
    border-radius:22px;
    box-shadow:0 15px 45px rgba(0,0,0,.08);
}

.cunnekt-login-wrapper h2,
.cunnekt-login-wrapper h3{
    text-align:center;
    font-size:38px;
    font-weight:700;
    color:#222;
    margin-bottom:15px;
}

.cunnekt-login-wrapper p{
    text-align:center;
    color:#777;
    margin-bottom:30px;
}

/* Inputs */

.cunnekt-login-wrapper input,
#cunnekt-phone,
#cunnekt-otp{
    width:100%;
    height:58px;
    padding:0 20px;
    border:1px solid #e4e4e4;
    border-radius:14px;
    background:#fafafa;
    font-size:16px;
    transition:.3s;
    margin-bottom:20px;
    box-sizing:border-box;
}

.cunnekt-login-wrapper input:focus,
#cunnekt-phone:focus,
#cunnekt-otp:focus{
    border-color:#c8a23a;
    background:#fff;
    outline:none;
    box-shadow:0 0 0 4px rgba(200,162,58,.15);
}

/* Buttons */

#cunnekt-send-otp,
#cunnekt-verify-otp,
.cunnekt-login-wrapper button{
    width:100%;
    height:58px;
    border:none;
    border-radius:14px;
    background:linear-gradient(135deg,#d4af37,#b8860b);
    color:#fff;
    font-size:17px;
    font-weight:600;
    letter-spacing:.5px;
    cursor:pointer;
    transition:.3s;
    margin-bottom:20px;
    box-shadow:0 10px 25px rgba(212,175,55,.30);
}

#cunnekt-send-otp:hover,
#cunnekt-verify-otp:hover,
.cunnekt-login-wrapper button:hover{
    transform:translateY(-2px);
    box-shadow:0 15px 35px rgba(212,175,55,.40);
}

/* Success Message */

.cunnekt-success,
#cunnekt-message.success{
    background:#ecfff2;
    color:#0a8a2a;
    padding:16px 20px;
    border-radius:12px;
    border-left:4px solid #0a8a2a;
    margin-top:15px;
    font-weight:600;
}

/* Error */

.cunnekt-error,
#cunnekt-message.error{
    background:#fff3f3;
    color:#d11a2a;
    padding:16px 20px;
    border-radius:12px;
    border-left:4px solid #d11a2a;
    margin-top:15px;
    font-weight:600;
}

/* Placeholder */

.cunnekt-login-wrapper input::placeholder{
    color:#999;
}

/* Mobile */

@media(max-width:768px){

    .cunnekt-login-wrapper{
        padding:25px;
        margin:20px;
        border-radius:18px;
    }

    .cunnekt-login-wrapper h2,
    .cunnekt-login-wrapper h3{
        font-size:30px;
    }

    .cunnekt-login-wrapper input,
    #cunnekt-send-otp,
    #cunnekt-verify-otp{
        height:52px;
    }

}


