/* Mid Diamonds – OTP Widget Styles */

.md-otp-widget {
    margin: 20px 0 24px;
}

.md-otp-box {
    background: #f9f7f2;
    border: 1px solid #e0d8c8;
    border-left: 4px solid #c9a84c;
    border-radius: 6px;
    padding: 20px 22px;
    max-width: 520px;
}

.md-otp-info {
    margin: 0 0 16px;
    font-size: 14px;
    color: #444;
    line-height: 1.6;
}

.md-otp-icon {
    font-size: 18px;
    margin-right: 4px;
}

/* Row: input + button side by side */
.md-otp-field-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.md-otp-field-row input[type="email"],
.md-otp-field-row input[type="text"] {
    flex: 1;
    min-width: 160px;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 15px;
    outline: none;
    transition: border-color .2s;
}

.md-otp-field-row input:focus {
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201,168,76,.15);
}

/* Buttons */
.md-otp-btn {
    cursor: pointer;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 18px;
    transition: background .2s, opacity .2s;
    white-space: nowrap;
}

.md-otp-btn-primary {
    background: #c9a84c;
    color: #fff;
}
.md-otp-btn-primary:hover {
    background: #b8943f;
}
.md-otp-btn-primary:disabled {
    opacity: .6;
    cursor: not-allowed;
}

.md-otp-btn-link {
    background: transparent;
    color: #c9a84c;
    padding: 6px 0;
    font-size: 13px;
    text-decoration: underline;
}
.md-otp-btn-link:hover {
    color: #b8943f;
}
.md-otp-btn-link:disabled {
    color: #999;
    text-decoration: none;
    cursor: not-allowed;
}

/* Messages */
.md-otp-message {
    margin: 10px 0 0;
    font-size: 13px;
    min-height: 18px;
}
.md-otp-message.success { color: #2e7d32; }
.md-otp-message.error   { color: #c62828; }
.md-otp-message.info    { color: #1565c0; }

/* Sent-to line */
.md-otp-sent-to {
    margin: 0 0 12px;
    font-size: 13px;
    color: #555;
}

/* Verified state */
.md-otp-verified {
    color: #2e7d32;
    font-size: 15px;
    font-weight: 600;
    padding: 8px 0 0;
}
.md-otp-verified span {
    background: #e8f5e9;
    border-radius: 20px;
    padding: 4px 12px;
    margin-right: 6px;
}

/* Steps */
.md-otp-step + .md-otp-step { margin-top: 0; }
