body {
    background: #fbf6f0;
    font-family: 'Segoe UI', 'Montserrat', sans-serif;
    color: #5a4d3d;
    margin: 0;
    min-height: 100vh;
}

.container {
    width: 100vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card {
    background: linear-gradient(145deg, #ece5dc, #c6beb7);
    border-radius: 12px;
    padding: 40px 28px 32px;
    box-shadow: 16px 16px 38px #b8ada5, -12px -12px 44px #ffffff;
    text-align: center;
    width: 100%;
    max-width: 370px;
}

.card h1 {
    font-weight: 900;
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 8px;
}
.card h1 span {
    color: #f75f34;
    filter: drop-shadow(0 2px 2px rgba(0,0,0,0.07));
}
.card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 20px;
}
.form label {
    display: block;
    text-align: left;
    font-weight: 600;
    margin-bottom: 8px;
    color: #5a4d3d;
}
.mobile-input {
    display: flex;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: inset 4px 4px 7px #e6ded9, inset -3px -3px 8px #fff;
    margin-bottom: 8px;
    background: #f8f1e7;
}
.mobile-input input {
    flex-grow: 1;
    border: none;
    background: #f8f1e7;
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
    box-shadow: none;
    outline: none;
}
.error-msg {
    color: #f75f34;
    font-size: 0.96em;
    margin-top: 10px;
    margin-bottom: 14px;
    min-height: 18px;
    display: block;
    text-align: left;
}
.buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 10px;
}
.btn {
    padding: 12px 0;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 4px 4px 14px #aea594, -3px -3px 10px #fff;
    transition: all 0.23s;
    color: #fff;
    background: #ebe3d9;
    outline: none;
    min-width: 120px;
    max-width: 240px;
    display: block;
    margin: 0 auto;
}
.btn.primary {
    background: linear-gradient(145deg, #dcd5c8, #f1ebdf);
    color: #f75f34;
}
.btn.primary:hover {
    background: linear-gradient(145deg, #e2dcce, #ffd7be);
    color: #5a4d3d;
}
.btn.secondary {
    background: #5a4d3d;
    color: #fff;
}
.btn.secondary:hover {
    background: #f75f34;
    color: #fff;
}
.btn[disabled] {
    background: #f7b18e !important;
    color: #fff !important;
    cursor: not-allowed;
}
/* OTP SECTION */
.otp-section {
    display: none;
    text-align: center;
    margin-top: 20px;
}
.otp-section.active {
    display: block;
}
#otp-title {
    font-weight: 600;
    margin-bottom: 18px;
    color: #6a523d;
    font-size: 1.01em;
    line-height: 1.4;
}
.otp-inputs {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 16px auto 12px auto;
}
.otp-inputs input[type="text"] {
    width: 44px;
    height: 52px;
    font-size: 2rem;
    border: 2px solid #e5ceb0;
    border-radius: 9px;
    text-align: center;
    outline: none;
    transition: border .08s;
    background: #f8f1e7;
}
.otp-inputs input[type="text"]:focus {
    border-color: #f75f34;
}
.otp-error {
    color: #f75f34;
    font-size: 0.97em;
    margin-bottom: 10px;
    display: block;
    min-height: 19px;
    text-align: center;
}
.otp-error.success {
    color: #23a125;
}
/* Centrally align the Verify OTP button and prevent distortion */
.otp-cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}
#verify-otp-btn {
    min-width: 160px;
    max-width: 240px;
    padding: 12px 0;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    box-shadow: 4px 4px 14px #aea594, -3px -3px 10px #fff;
    transition: all 0.23s;
    color: #fff;
    background: linear-gradient(145deg, #dcd5c8, #f1ebdf);
    outline: none;
    margin: 0 auto;
    display: block;
}
#verify-otp-btn:disabled {
    background: #f7b18e !important;
    cursor: not-allowed;
    color: #fff !important;
}
.resend-otp-btn {
    margin-top: 8px;
    background: #ffd1ba;
    color: #f75f34;
    border: none;
    border-radius: 7px;
    font-weight: 700;
    font-size: 1em;
    padding: 7px 18px;
    cursor: pointer;
    transition: background 0.15s;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.resend-otp-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
@media (max-width: 500px){
    .card { padding: 2vw 3vw 24px 3vw; }
    .otp-inputs input[type="text"] { width:32px; height:40px; font-size:1.3rem;}
    #verify-otp-btn { min-width: 120px; }
}
