.otp-container {
    text-align: center;
    max-width: 450px;
    margin: 30px auto 15px auto;
    padding: 50px;
    background: linear-gradient(
  to bottom right,
  #000000 0%,
  #929292 50%,
  #000000 0%
);
    border-radius: 12px;
    box-shadow:
        0 15px 40px rgba(108, 108, 108, 0.7),
        0 0 0 1px rgb(75, 74, 74);
    color: #f0f0f0;
    position: relative;
    z-index: 1;
}

.otp-container h2 { /* Assuming you have an h2 for "Enter OTP" or similar */
    font-size: 30px;
    letter-spacing: 1.5px;
    color: white;
    margin-bottom: 25px;
    text-transform: uppercase;
    font-weight: 700;
}

.otp-container p { /* Assuming you have a descriptive paragraph */
    font-size: 15px;
    color: #b0b0b0;
    margin-bottom: 35px;
    line-height: 1.6;
}

.otp-container input {
    width: 100%;
    padding: 18px;
    margin: 25px 0; /* Increased vertical margin for more height */
    font-size: 16px;
    border: 1px solid #0a0808;
    border-radius: 8px;
    outline: none;
    background-color: rgb(11, 16, 0);
    color: #f0f0f0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.otp-container input:focus {
    border-color: black;
    box-shadow: 0 0 0 3px rgba(123, 79, 252, 0.3);
}

.otp-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px; /* Adjusted gap */
    font-size: 14px; /* Slightly larger font */
    color: #b0b0b0; /* Consistent text color */
    margin-bottom: 25px; /* Increased margin */
}

.otp-bottom .resend {
    text-decoration: none;
    color: #7b4ffc; /* Consistent accent color */
    font-weight: 500;
    transition: color 0.3s ease;
}

.otp-bottom .resend:hover {
    color: #8e6aff;
}

.error-message {
    color: red;
    margin-bottom: 15px; /* Increased margin */
    text-align: center;
    font-size: 14px; /* Consistent font size */
}

.otp-container button {
    width: 100%;
    padding: 18px;
    background: #111;
    color: silver;
    border: none;
    font-size: 18px;
    letter-spacing: 0.5px;
    cursor: pointer;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-top: 25px; /* Adjusted margin-top for consistency */
}

.otp-container button:hover {
    background: grey;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}