/* Healing Plants Brand Styles - Single Source of Truth */

:root {
    /* Brand Colors */
    --brand-green: #A6C068;
    --brand-orange: #F6861F;
    --brand-purple: #573A96;
    --brand-pink: #E799C2;
    --brand-yellow: #FBD704;

    /* Text Colors */
    --text-dark: #1b1b18;
    --text-medium: #706f6c;
    --text-light: #a0a0a0;

    /* Background Colors */
    --bg-light: #f8f9fa;
    --bg-green-tint: #e8f5e8;
    --bg-dark: #1b1b18;

    /* Gradients */
    --gradient-primary: linear-gradient(45deg, var(--brand-green), var(--brand-orange));
    --gradient-secondary: linear-gradient(45deg, var(--brand-green), var(--brand-pink));
    --gradient-bg: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-green-tint) 100%);

    /* Shadows */
    --shadow-soft: 0 2px 8px rgba(166, 192, 104, 0.1);
    --shadow-medium: 0 4px 12px rgba(166, 192, 104, 0.3);
    --shadow-strong: 0 8px 32px rgba(0, 0, 0, 0.1);

    /* Border Radius */
    --radius-small: 8px;
    --radius-medium: 12px;
    --radius-large: 16px;
    --radius-pill: 25px;
}

/* Base Styles */
.brand-body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--gradient-bg);
}

.brand-container {
    background: white;
    border-radius: var(--radius-large);
    box-shadow: var(--shadow-strong);
    border: 1px solid rgba(166, 192, 104, 0.2);
}

/* Typography */
.brand-logo {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-logo-large {
    font-size: 32px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-text-medium {
    color: var(--text-medium);
}

.brand-text-light {
    color: var(--text-light);
}

.brand-highlight {
    color: var(--brand-green);
    font-weight: 600;
}

/* Buttons */
.brand-button {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 14px 28px;
    text-decoration: none;
    border-radius: var(--radius-small);
    font-weight: 600;
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.brand-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(166, 192, 104, 0.4);
}

.brand-button-small {
    padding: 12px 24px;
    font-size: 14px;
}

/* Cards and Boxes */
.brand-card {
    background: var(--gradient-bg);
    border-radius: var(--radius-medium);
    padding: 20px;
    border: 1px solid rgba(166, 192, 104, 0.3);
    box-shadow: var(--shadow-soft);
}

.brand-card-accent {
    border-left: 4px solid var(--brand-green);
    border-radius: 0 var(--radius-medium) var(--radius-medium) 0;
}

.brand-alert {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid var(--brand-orange);
    color: #8a6914;
    padding: 15px;
    border-radius: var(--radius-small);
    box-shadow: 0 2px 8px rgba(246, 134, 31, 0.2);
}

/* Form Elements */
.brand-input {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(166, 192, 104, 0.3);
    color: var(--text-dark);
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-small);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.brand-input:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 3px rgba(166, 192, 104, 0.1), 0 2px 8px rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.brand-input::placeholder {
    color: rgba(27, 27, 24, 0.6);
}

.brand-input.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Checkbox Styles */
.contact-form-inline .checkbox-container {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem;
    cursor: pointer;
    margin: 0;
    padding: 0;
    line-height: 1;
}

.contact-form-inline .checkbox-input {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    accent-color: var(--brand-green);
    flex-shrink: 0;
    vertical-align: middle !important;
    position: relative !important;
    top: 0 !important;
    transform: none !important;
    display: block !important;
}

.contact-form-inline .checkbox-text {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.4;
    user-select: none;
    vertical-align: middle;
    display: inline-block;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-medium);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.15);
    animation: slideInDown 0.3s ease-out;
}

.success-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
}

.success-icon {
    background: var(--brand-green);
    color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.success-text h4 {
    color: var(--brand-green);
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    font-family: var(--font-heading);
}

.success-text p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

.newsletter-note {
    color: var(--brand-green) !important;
    font-weight: 500;
    margin-top: 0.5rem !important;
    opacity: 1 !important;
}

.success-dismiss {
    background: none;
    border: none;
    color: rgba(34, 197, 94, 0.7);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-small);
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.success-dismiss:hover {
    color: var(--brand-green);
    background: rgba(34, 197, 94, 0.1);
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Error Message */
.error-message {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-medium);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15);
    animation: slideInDown 0.3s ease-out;
}

.error-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
}

.error-icon {
    background: #ef4444;
    color: white;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.error-text p {
    color: var(--text-dark);
    font-size: 0.95rem;
    margin: 0;
    opacity: 0.9;
}

.validation-errors-list {
    margin: 0.5rem 0 0 0;
    padding-left: 1rem;
    list-style-type: disc;
}

.validation-errors-list li {
    color: #ef4444;
    font-size: 0.9rem;
    margin: 0.25rem 0;
    font-weight: 500;
}

.error-dismiss {
    background: none;
    border: none;
    color: rgba(239, 68, 68, 0.7);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: var(--radius-small);
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.error-dismiss:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Message Content Highlight */
.message-content-highlight {
    background: linear-gradient(135deg, rgba(166, 192, 104, 0.1) 0%, rgba(246, 134, 31, 0.1) 100%);
    border: 2px solid var(--brand-green);
    border-radius: var(--radius-medium);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 8px 25px rgba(166, 192, 104, 0.2);
}

.message-text-large {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 500;
    background: rgba(255, 255, 255, 0.8);
    padding: 1.5rem;
    border-radius: var(--radius-small);
    border-left: 4px solid var(--brand-green);
    white-space: pre-wrap;
    word-wrap: break-word;
}

.brand-error-text {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Badges */
.brand-badge {
    background: var(--gradient-primary);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-pill);
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
    box-shadow: var(--shadow-medium);
}

/* Headers */
.brand-header {
    text-align: center;
    margin-bottom: 30px;
}

.brand-header-orange {
    color: var(--brand-orange);
}

/* Footer */
.brand-footer {
    text-align: center;
    color: var(--text-medium);
    font-size: 14px;
    border-top: 1px solid #e0e0e0;
    padding-top: 20px;
}

/* Feature Lists */
.brand-feature-item {
    display: flex;
    align-items: center;
    margin: 15px 0;
    padding: 8px 0;
}

.brand-feature-icon {
    margin-right: 15px;
    font-size: 20px;
    color: var(--brand-green);
}

/* Responsive */
@media (max-width: 768px) {
    .brand-logo {
        font-size: 24px;
    }

    .brand-logo-large {
        font-size: 28px;
    }

    .brand-button {
        padding: 12px 20px;
    }
}