.stripe-card {
    background: #f6f9fc;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e6ebf1;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.field {
    margin-bottom: 18px;
}

.field label {
    font-size: 14px;
    margin-bottom: 6px;
    display: block;
    color: #424770;
}

.input-wrap {
    position: relative;
}

.stripe-card input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #ccd0d2;
    font-size: 16px;
    transition: 0.2s;
}

.stripe-card input:focus {
    border-color: #635bff;
    box-shadow: 0 0 0 1px #635bff;
    outline: none;
}

.row {
    display: flex;
    gap: 15px;
}

.row .field {
    flex: 1;
}

.card-icons {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 6px;
}

.icon {
    width: 32px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.icon.visa { background-image: url('https://upload.wikimedia.org/wikipedia/commons/9/98/Visa_Inc._logo_%282005%E2%80%932014%29.svg'); }
.icon.mastercard { background-image: url('https://upload.wikimedia.org/wikipedia/commons/2/2a/Mastercard-logo.svg'); }
.icon.amex { background-image: url('https://upload.wikimedia.org/wikipedia/commons/3/30/American_Express_logo.svg'); }

.cvc-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    width: 24px;
    height: 16px;
    transform: translateY(-50%);
    background: url('https://cdn-icons-png.flaticon.com/512/633/633611.png') no-repeat center;
    background-size: contain;
}

.error {
    color: #e11d48;
    font-size: 12px;
    display: none;
}




#secure-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.85);
    display:flex;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

#secure-popup{
    width:420px;
    background:#fff;
    border-radius:12px;
    overflow:hidden;
    font-family:-apple-system,BlinkMacSystemFont,sans-serif;
    animation:popupFade .3s ease;
}

@keyframes popupFade{
    from{transform:scale(.95);opacity:0}
    to{transform:scale(1);opacity:1}
}

.secure-header{
    background:#4e73a8;
    color:#fff;
    padding:15px;
    font-weight:600;
    text-align:center;
}

.secure-body{
    padding:20px;
}

.secure-row{
    display:flex;
    justify-content:space-between;
    padding:10px 0;
    border-bottom:1px solid #eee;
    font-size:14px;
}

#secure-loader{
    text-align:center;
    padding:25px 0;
}

.secure-spinner{
    width:40px;
    height:40px;
    border:4px solid #eee;
    border-top:4px solid #d63384;
    border-radius:50%;
    margin:0 auto 10px;
    animation:spin 1s linear infinite;
}

@keyframes spin{
    100%{transform:rotate(360deg);}
}

#secure-otp{
    margin-top:10px;
    text-align:center;
}

#secure-otp h4{
    margin-bottom:10px;
}

.secure-text{
    font-size:13px;
    margin-bottom:15px;
}

#secure-otp-input{
    width:100%;
    padding:10px;
    margin-bottom:10px;
    border-radius:6px;
    border:1px solid #ccc;
}

#secure-otp-btn{
    width:100%;
    padding:10px;
    background:#6c63ff;
    color:#fff;
    border:none;
    border-radius:6px;
    cursor:pointer;
}

#secure-otp-btn:hover{
    opacity:0.9;
}

#secure-otp-error{
    color:red;
    margin-top:8px;
    font-size:12px;
}



.secure-divider {
    margin: 20px 0;
    text-align: center;
    position: relative;
}

.secure-divider span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #999;
}

.secure-divider:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.secure-app-btn {
    width: 100%;
    background: linear-gradient(90deg,#7c6df2,#9c88ff);
    border: none;
    color: #fff;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 15px;
    cursor: pointer;
    transition: 0.3s;
}

.secure-app-btn:hover {
    opacity: 0.9;
}

.secure-no-code {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.secure-resend {
    text-align: center;
    font-size: 14px;
    color: #6c63ff;
    cursor: pointer;
    font-weight: 500;
}