body {
    margin: 0;
    font-family: "Segoe UI", sans-serif;
    background: #0f172a;
    overflow-x: hidden;
}

/* Background glow */
.bg-image {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, #2563eb33, transparent 60%),
                radial-gradient(circle at bottom, #9333ea33, transparent 60%);
    background:url('../Image/bg2.jfif') center/cover no-repeat;
    z-index: -1;
}

/* Center wrapper */
.auth-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    backdrop-filter: blur(10px);
}

/* Glass card */
.auth-card {
    width: 100%;
    max-width: 520px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: white;
}

/* Logo */
.logo {
    width: 60px;
    margin-bottom: 10px;
}

/* Title */
h1 {
    font-size: 20px;
    margin: 10px 0;
}

/* Subtitle */
.subtitle {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 25px;
}

/* Grid buttons */
.grid-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Provider buttons */
.provider {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    cursor: pointer;
    transition: 0.25s ease;
    font-size: 14px;
}

.provider img {
    width: 22px;
    height: 22px;
}

.provider:hover {
    transform: translateY(-3px);
    background: rgba(255,255,255,0.15);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

/* Gmail special highlight */
/*
.gmail {
    grid-column: span 2;
    background: linear-gradient(90deg, #ea4335, #fbbc05);
    color: black;
    font-weight: 600;
}
*/

/* Footer */
.footer {
    margin-top: 25px;
    font-size: 11px;
    opacity: 0.6;
}

        
/* Center screen */
.otp-wrapper{
    max-width:360px;
    margin:80px auto;
    padding:25px;
    background: rgba(255,255,255,0.9);
    border-radius:18px;
    text-align:center;
    box-shadow:0 20px 60px rgba(0,0,0,0.15);
    backdrop-filter: blur(12px);
}

/* Title */
.otp-title{
    margin-bottom:5px;
    font-size:22px;
    color: dimgrey;
}

.otp-sub{
    font-size:13px;
    color:#666;
    margin-bottom:20px;
}

/* OTP boxes */
.otp-container{
    display:flex;
    justify-content:space-between;
    gap:8px;
}

.otp-input{
    width:45px;
    height:50px;
    text-align:center;
    font-size:20px;
    border-radius:10px;
    border:2px solid #ddd;
    outline:none;
    transition:0.25s;
    animation: pop 0.3s ease;
}

/* Focus glow */
.otp-input:focus{
    border-color:#6c63ff;
    box-shadow:0 0 0 3px rgba(108,99,255,0.2);
    transform: scale(1.05);
}

/* Button */
.otp-btn{
    margin-top:20px;
    width:100%;
    padding:10px;
    border:none;
    border-radius:10px;
    background: linear-gradient(135deg,#6c63ff,#8a85ff);
    color:#fff;
    font-weight:bold;
    cursor:pointer;
}

/* Status text */
.otp-status{
    margin-top:10px;
    font-size:13px;
    color:#777;
}

/* Input pop animation */
@keyframes pop{
    from{transform:scale(0.7); opacity:0;}
    to{transform:scale(1); opacity:1;}
}

/* Shake animation (error) */
.shake{
    animation: shake 0.3s;
}

@keyframes shake{
    0%{transform:translateX(0);}
    25%{transform:translateX(-5px);}
    50%{transform:translateX(5px);}
    75%{transform:translateX(-5px);}
    100%{transform:translateX(0);}
}

/* Loading pulse */
.loading{
    color:#6c63ff;
    animation:pulse 1s infinite;
}

@keyframes pulse{
    0%{opacity:1;}
    50%{opacity:0.4;}
    100%{opacity:1;}
}
        
        
.modal-content {
    background: linear-gradient(135deg, #5D4157, #A8CABA);
    color: #fff;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

/* Optional glass effect (modern look) */
.modal-content {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Modal header styling */
.modal-header {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

/* Modal footer styling */
.modal-footer {
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Inputs styling inside modal */
.modal-content .form-control {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    color: #fff;
}

.modal-content .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

/* Buttons */
.modal-content .btn-primary {
    background: #00c6ff;
    border: none;
}

.modal-content .btn-secondary {
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
}
        
.modal-backdrop.show {
    background-color: rgba(0,0,0,0.7);
}
        
.modal.fade .modal-dialog {
    transform: scale(0.9);
    transition: all 0.25s ease;
}

.modal.show .modal-dialog {
    transform: scale(1);
}