/* Base container styling */
#mobile-otp-container {
    max-width: 380px; /* Narrower to match the compact look of the reference image */
    margin: 40px auto;
    padding: 30px 25px; /* Slightly reduced padding to be more compact */
    border-radius: 8px; /* Less rounded corners to match the image */
    background-color: #ffffff;
    /* Very subtle, almost invisible shadow for a flat, modern look */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-family: 'Inter', sans-serif; /* Keeping Inter for a modern look */
    color: #333;
    line-height: 1.5;
    text-align: center; /* Center aligning text elements within the container */
}

/* Heading for the container, like 'Welcome' or 'Login' */
#mobile-otp-container h2 {
    font-size: 24px;
    font-weight: 700;
    color: #222;
    margin-bottom: 8px;
}

#mobile-otp-container p.subtitle {
    font-size: 15px;
    color: #666;
    margin-bottom: 25px;
}


/* Input field styling */
#mobile-otp-container input[type="tel"],
#mobile-otp-container input[type="text"] {
    width: 100%;
    padding: 12px 15px; /* Adjusted padding */
    margin: 20px 0 15px 0; /* Adjusted margins for better spacing */
    border: 1px solid #e9e9e9; /* Very light border color */
    border-radius: 6px; /* Subtle rounding */
    font-size: 16px;
    color: #444;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    text-align: left; /* Keep text input left-aligned */
}

/* Input focus state */
#mobile-otp-container input[type="tel"]:focus,
#mobile-otp-container input[type="text"]:focus {
    border-color: #007bff; /* A clean, standard blue on focus */
    outline: none;
    /* A very subtle glow on focus */
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.2);
}

/* Checkbox and small text styling */
#mobile-otp-container .checkbox-container {
    display: flex;
    align-items: center;
    justify-content: center; /* Center the checkbox and text */
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

#mobile-otp-container .checkbox-container input[type="checkbox"] {
    margin-right: 8px;
    accent-color: #007bff; /* Custom color for checkbox */
}

#mobile-otp-container .checkbox-container a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

#mobile-otp-container .checkbox-container a:hover {
    text-decoration: underline;
}

/* Button styling */
#mobile-otp-container button {
    width: 100%;
    padding: 15px 0; /* Slightly reduced button height */
    margin-top: 30px; /* Increased margin from inputs/checkbox */
    background-color: #007bff; /* Standard blue, like the reference image */
    color: white;
    font-weight: 600;
    font-size: 17px;
    border: none;
    border-radius: 6px; /* Subtle rounding, consistent with inputs */
    cursor: pointer;
    transition: background-color 0.25s ease, transform 0.1s ease, box-shadow 0.25s ease;
    /* A more subtle shadow for the button */
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

/* Button hover state */
#mobile-otp-container button:hover {
    background-color: #0069d9; /* Darker blue on hover */
    transform: translateY(-1px); /* More subtle lift on hover */
    box-shadow: 0 6px 14px rgba(0, 123, 255, 0.3); /* Enhanced shadow on hover */
}

/* Button active state */
#mobile-otp-container button:active {
    transform: translateY(0); /* Press down effect */
    box-shadow: 0 2px 6px rgba(0, 123, 255, 0.15);
}

/* Link/Alternative action styling */
#mobile-otp-container .alt-action {
    margin-top: 20px;
    font-size: 14px;
}

#mobile-otp-container .alt-action a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

#mobile-otp-container .alt-action a:hover {
    text-decoration: underline;
}

/* Hidden elements */
#mobile_otp_code,
#mobile_otp_verify_btn {
    display: none;
}

/* Message styling */
#mobile_otp_message {
    margin-top: 15px;
    min-height: 22px;
    font-weight: 500;
    font-size: 14px;
    text-align: center;
}

.message.success {
    color: #28a745;
}

.message.error {
    color: #dc3545;
}

/* Optional: Add basic body styling for better presentation */
body {
    background-color: #f8f9fa; /* A very light background for the page */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
