/* ==========================================
   COMPONENTS STYLES
   Specific component styles for reusable elements
   ========================================== */

/* Form Components */
.form-message {
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
    animation: slideIn 0.3s ease;
}

.form-message.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #10b981;
}

.form-message.error {
    background: #fef2f2;
    color: #dc2626;
    border: 1px solid #ef4444;
}

/* Animation Keyframes for Components */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Button Variations */
.btn-primary {
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ea580c, #dc2626);
    transform: translateY(-1px);
}

/* Card Components */
.card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--slate-200);
    transition: all 0.2s ease;
}

.card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

/* Badge Components */
.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
}

.badge-primary {
    background: var(--orange-500);
    color: var(--white);
}

.badge-secondary {
    background: var(--slate-200);
    color: var(--slate-700);
}

/* Loading States */
.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--slate-300);
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Interactive Elements */
.interactive {
    cursor: pointer;
    transition: all 0.2s ease;
}

.interactive:hover {
    opacity: 0.8;
}

.interactive:active {
    transform: scale(0.98);
}

/* Legal Pages Styles */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
    line-height: 1.7;
}

.legal-header {
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--slate-200);
}

.legal-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--slate-800);
    margin-bottom: 12px;
}

.legal-updated {
    color: var(--slate-600);
    font-size: 14px;
    font-weight: 500;
}

.breadcrumbs {
    margin-bottom: 30px;
    font-size: 14px;
    color: var(--slate-600);
}

.breadcrumbs a {
    color: var(--orange-500);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: var(--slate-800);
}

.legal-content h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--slate-800);
    margin: 40px 0 16px 0;
    padding-top: 20px;
    border-top: 1px solid var(--slate-100);
}

.legal-content h2:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

.legal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--slate-700);
    margin: 24px 0 12px 0;
}

.legal-content p {
    margin-bottom: 16px;
    color: var(--slate-700);
}

.legal-content ul, .legal-content ol {
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--slate-700);
}

.legal-content strong {
    color: var(--slate-800);
    font-weight: 600;
}

.legal-content a {
    color: var(--orange-500);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--slate-800);
}

.contact-info {
    background: var(--slate-50);
    padding: 20px;
    border-radius: 8px;
    margin: 32px 0;
    border-left: 4px solid var(--orange-500);
}