* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Card */
.container {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    width: 100%;
    max-width: 420px;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

/* Logo */
.logo {
    font-size: 22px;
    font-weight: 700;
    color: #ee2761;
    margin-bottom: 10px;
}

/* Heading */
h1 {
    font-size: 26px;
    margin-bottom: 8px;
}

p {
    font-size: 14px;
    color: #777;
}

/* OTP boxes */
.otp-box {
    display: flex;
    justify-content: space-between;
    margin: 25px 0;
}

.otp-box input {
    width: 50px;
    height: 55px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 20px;
    text-align: center;
    transition: 0.3s;
}

.otp-box input:focus {
    border-color: #e91e63;
    box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.1);
    outline: none;
}

/* Button */
button {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #ee2761, #ee2761);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    transform: translateY(-2px);
}

/* Timer */
#timer-row {
    margin-top: 12px;
    font-weight: 600;
}

/* Resend */
.resend {
    margin-top: 10px;
    font-size: 14px;
}

.resend a {
    color: #e91e63;
    font-weight: 600;
    text-decoration: none;
}

.resend a:hover {
    text-decoration: underline;
}

#timer-row {
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    margin-top: 16px;
    color: #333;
}

#otp-timer {
    display: inline-block;
    background: #f0f0f0;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: #3366ff;
    font-size: 18px;
    min-width: 60px;
    text-align: center;
}

#otp-timer.expired {
    color: #ff6b6b;
    background: #ffe0e0;
}

.otp-field:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

button[type="submit"]:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.resend {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.resend a {
    color: #3366ff;
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.resend a:hover {
    text-decoration: underline;
    color: #0052cc;
}

.otp-box {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 20px 0;
}

.otp-field {
    width: 50px;
    height: 50px;
    font-size: 24px;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.otp-field:focus {
    outline: none;
    border-color: #3366ff;
    box-shadow: 0 0 0 3px rgba(51, 102, 255, 0.14);
}

form {
    max-width: 400px;
    margin: 30px auto;
}

button[type="submit"] {
    width: 100%;
    padding: 12px;
    background-color: #3366ff;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0052cc;
}

h1 {
    text-align: center;
    color: #222;
    margin-bottom: 8px;
}

form>p:first-of-type {
    text-align: center;
    color: #666;
    margin-bottom: 20px;
}