.wpccnews-subscription-container *,
.wpccnews-subscription-container{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.wpccnews-subscription-container{
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.4;
    color: #333;
    padding: 20px;
}

/* Compact Container */
.wpccnews-subscription-container {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* Compact Card */
.wpccnews-subscription-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 28px;
    border: 1px solid #e9ecef;
}

/* Compact Header */
.wpccnews-subscription-header {
    text-align: center;
    margin-bottom: 24px;
}

.wpccnews-subscription-icon {
    width: 40px;
    height: 40px;
    background-color: #9E803F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-size: 18px;
}

.wpccnews-subscription-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 6px;
}

.wpccnews-subscription-header p {
    color: #6b7280;
    font-size: 13px;
    line-height: 1.4;
}

/* Compact Form */
.wpccnews-subscription-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Desktop Layout - First Name and Email on Same Line */
@media (min-width: 768px) {
    .wpccnews-form-row {
        display: flex;
        gap: 12px;
        align-items: flex-end;
    }
    
    .wpccnews-form-group {
        flex: 1;
        margin-bottom: 0;
    }
    
    .wpccnews-name-group {
        flex: 1;
    }
    
    .wpccnews-email-group {
        flex: 2;
    }
}

.wpccnews-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 0;
}

.wpccnews-subscription-card label {
    font-size: 12px;
    font-weight: 500;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 4px;
}

.wpccnews-subscription-card label::before {
    content: "";
    width: 4px;
    height: 4px;
    background-color: #9E803F;
    border-radius: 50%;
}

.wpccnews-form-input {
    padding: 10px 12px;
    font-size: 14px;
    border: 1px solid #888;
    border-radius: 6px;
    transition: all 0.2s ease;
    background-color: white;
    color: #1f2937;
    height: 40px;
}

.wpccnews-form-input:focus {
    outline: none;
    border-color: #9E803F;
    box-shadow: 0 0 0 2px rgba(158, 128, 63, 0.1);
}

.wpccnews-form-input::placeholder {
    color: #9ca3af;
    font-size: 13px;
}

/* Compact Submit Button */
.wpccnews-submit-btn {
    background-color: #9E803F;
    color: white;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.3px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
}

.wpccnews-submit-btn:hover {
    background-color: #8a7038;
    transform: translateY(-1px);
}

.wpccnews-submit-btn:active {
    transform: translateY(0);
}

.wpccnews-submit-btn::after {
    content: "→";
    font-size: 16px;
    transition: transform 0.2s ease;
}

.wpccnews-submit-btn:hover::after {
    transform: translateX(2px);
}

/* Compact Success Message */
.wpccnews-success-message {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    color: #0369a1;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    display: none;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
}

/* Compact Privacy Note */
.wpccnews-privacy-note {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 11px;
    line-height: 1.4;
}

.wpccnews-privacy-note a {
    color: #9E803F;
    text-decoration: none;
    font-weight: 500;
}

.wpccnews-privacy-note a:hover {
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 767px) {
    .wpccnews-subscription-container {
        max-width: 320px;
    }
    
    .wpccnews-subscription-card {
        padding: 20px;
    }
    
    .wpccnews-subscription-header h3 {
        font-size: 16px;
    }
    
    .wpccnews-subscription-header p {
        font-size: 12px;
    }
    
    .wpccnews-form-row {
        display: block;
    }
    
    .wpccnews-form-group {
        margin-bottom: 12px;
    }
}

/* Very Compact Footer Version */
.wpccnews-footer-version .wpccnews-subscription-card {
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.wpccnews-footer-version .wpccnews-subscription-header {
    margin-bottom: 16px;
}

.wpccnews-footer-version .wpccnews-subscription-icon {
    width: 32px;
    height: 32px;
    font-size: 14px;
    margin-bottom: 8px;
}

.wpccnews-footer-version .wpccnews-subscription-header h3 {
    font-size: 15px;
}

.wpccnews-footer-version .wpccnews-subscription-header p {
    font-size: 11px;
}

.wpccnews-footer-version .wpccnews-form-input {
    padding: 8px 10px;
    font-size: 13px;
    height: 36px;
}

.wpccnews-footer-version .wpccnews-submit-btn {
    padding: 8px 12px;
    font-size: 13px;
    height: 36px;
}

.wpccnews-footer-version .wpccnews-privacy-note {
    font-size: 10px;
    margin-top: 12px;
    padding-top: 12px;
}

/* Focus States */
.wpccnews-form-input:focus,
.wpccnews-submit-btn:focus {
    outline: 2px solid #9E803F;
    outline-offset: 1px;
}

/* Loading State */
.wpccnews-submit-btn.wpccnews-loading {
    position: relative;
    color: transparent;
}

.wpccnews-submit-btn.wpccnews-loading::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    border: 2px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: wpccnews-spin 0.8s linear infinite;
}

@keyframes wpccnews-spin {
    to {
        transform: rotate(360deg);
    }
}