/* Reusable Components for I Need an Agent */

/* Button Components */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #7C3AED, #2563EB);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

.btn-secondary {
    background: white;
    border: 2px solid var(--primary-purple);
    color: var(--primary-purple);
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--primary-purple);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Card Components */
.card {
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    background: white;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
    border-radius: 12px 12px 0 0;
    padding: 1.5rem;
}

/* Badge Components */
.badge-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.badge-secondary {
    background: var(--light-purple);
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

/* Alert Components */
.alert-success {
    background: linear-gradient(135deg, #10B981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.alert-info {
    background: linear-gradient(135deg, var(--primary-blue), #1D4ED8);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

.alert-warning {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 1rem 1.5rem;
}

/* Progress Bar Component */
.progress-custom {
    height: 8px;
    background-color: var(--light-purple);
    border-radius: 4px;
    overflow: hidden;
}

.progress-custom .progress-bar {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    border-radius: 4px;
    transition: width 0.6s ease;
}

/* Loading Spinner Component */
.spinner-custom {
    width: 40px;
    height: 40px;
    border: 4px solid var(--light-purple);
    border-top: 4px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Modal Components */
.modal-custom .modal-content {
    border-radius: 16px;
    border: none;
    box-shadow: var(--shadow-large);
}

.modal-custom .modal-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    color: white;
    border-radius: 16px 16px 0 0;
    border-bottom: none;
}

.modal-custom .modal-footer {
    border-top: 1px solid var(--border-light);
    padding: 1.5rem;
}

/* Form Components */
.form-control-custom {
    border: 2px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
}

.form-control-custom:focus {
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
    outline: none;
}

.form-label-custom {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
}

/* Navigation Components */
.nav-custom {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.nav-custom .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-custom .nav-link:hover {
    color: var(--primary-purple);
}

.nav-custom .nav-link.active {
    color: var(--primary-purple);
    font-weight: 600;
}

/* Tooltip Components */
.tooltip-custom {
    background: var(--text-dark);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.875rem;
    position: relative;
}

.tooltip-custom::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--text-dark);
}

/* Divider Components */
.divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
    margin: 2rem 0;
}

.divider-vertical {
    width: 1px;
    background: linear-gradient(180deg, transparent, var(--border-light), transparent);
    margin: 0 2rem;
}

/* Icon Components */
.icon-small {
    width: 16px;
    height: 16px;
}

.icon-medium {
    width: 24px;
    height: 24px;
}

.icon-large {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

/* Text Utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-primary-custom {
    color: var(--primary-purple);
}

/* Spacing Utilities */
.section-padding {
    padding: 5rem 0;
}

.section-padding-sm {
    padding: 3rem 0;
}

.section-padding-lg {
    padding: 7rem 0;
}

/* Border Utilities */
.border-gradient {
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary-purple), var(--primary-blue)) 1;
}

/* Shadow Utilities */
.shadow-custom {
    box-shadow: var(--shadow-medium);
}

.shadow-custom-lg {
    box-shadow: var(--shadow-large);
}

/* Animation Utilities */
.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

.scale-in {
    animation: scaleIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
} 