/* Latest News Subscriber Plugin Styles */

.lns-subscribe-form {
    max-width: 400px;
    padding: 20px;
}

.lns-unsubscribe-form {
    max-width: 400px;
    padding: 20px;
}

.lns-field-name {
    margin: 0;
    padding: 0;
}

.lns-field-email {
    margin: 0;
    padding: 20px 0 0 0;
}

.lns-field-submit {
    margin: 0;
    padding: 30px 0 0 0;
}

.lns-unsubscribe-form p {
    margin: 15px 0;
}

.lns-subscribe-form label,
.lns-unsubscribe-form label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.lns-subscribe-form input[type="text"],
.lns-subscribe-form input[type="email"],
.lns-unsubscribe-form input[type="email"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 14px;
}

.lns-subscribe-form input[type="text"]:disabled,
.lns-subscribe-form input[type="email"]:disabled,
.lns-unsubscribe-form input[type="email"]:disabled {
    background-color: #f5f5f5;
    color: #666;
}

.lns-subscribe-form .button,
.lns-unsubscribe-form .button {
    background: #0073aa;
    color: white;
    padding: 6px 20px;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.lns-subscribe-form .button:hover,
.lns-unsubscribe-form .button:hover {
    background: #005a87;
}

.lns-subscribe-form .button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* OTP Form Styles */
#lns-otp-form {
    text-align: center;
    padding: 20px;
}

.lns-otp-inputs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
}

.lns-otp-char {
    width: 50px;
    height: 50px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border: 2px solid #ddd;
    border-radius: 5px;
    background: white;
}

.lns-otp-char:focus {
    border-color: #0073aa;
    outline: none;
}

.lns-countdown {
    font-size: 16px;
    color: #d63638;
    font-weight: bold;
    margin: 15px 0;
}

/* Success Message Styles */
#lns-success-message,
.lns-success-content {
    text-align: center;
    padding: 30px 20px;
    background: #d4edda;
    border-radius: 5px;
    color: #155724;
}

.lns-success-content .dashicons {
    font-size: 60px;
    color: #28a745;
    margin-bottom: 40px;
    width: 60px;
    height: 60px;
}

#lns-success-message .dashicons,
#lns-success-message .dashicons-before:before,
.lns-success-content .dashicons,
.lns-success-content .dashicons-before:before {
    width: 60px !important;
    height: 60px !important;
}

.lns-success-content h3 {
    margin: 15px 0;
    color: #155724;
}

.lns-success-content p {
    margin: 10px 0;
    font-size: 16px;
}

/* Error Message Styles */
.lns-error {
    color: #d63638;
    background: #ffeaea;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 15px;
    margin: 20px 0;
}

/* Radio Button Styles */
.lns-unsubscribe-form input[type="radio"] {
    margin-right: 8px;
}

.lns-unsubscribe-form label {
    display: inline-block;
    font-weight: normal;
    margin-bottom: 10px;
    cursor: pointer;
}

/* Admin Help Section */
.lns-help-section {
    margin-top: 30px;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.lns-help-section h2 {
    color: #23282d;
    margin-top: 0;
}

.lns-help-section h3 {
    color: #0073aa;
    margin-top: 25px;
}

.lns-help-section code {
    background: #f1f1f1;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: monospace;
}

/* Validation Error Styles */
.lns-error-message {
    color: #d63638;
    font-size: 12px;
    margin-top: 5px;
    display: block;
}

.lns-error-input {
    border-color: #d63638 !important;
    box-shadow: 0 0 0 1px #d63638;
}

.lns-error-alert {
    background: #ffeaea;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    color: #d63638;
    font-size: 14px;
}

.lns-success-alert {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 15px;
    color: #155724;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .lns-subscribe-form,
    .lns-unsubscribe-form {
        max-width: 100%;
        margin: 10px 0;
        padding: 15px;
    }
    
    .lns-otp-inputs {
        gap: 5px;
    }
    
    .lns-otp-char {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .lns-success-content .dashicons {
        font-size: 40px;
    }
}