/* Utility Classes for Common Patterns */

/* Colors */
.text-primary-color { color: var(--primary-color); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); text-decoration: none; }

/* Text styles */
.text-secondary-small {
    color: var(--text-secondary);
    font-size: 0.9em;
}

.font-bold { font-weight: bold; }

/* Spacing utilities */
.mb-20 { margin-bottom: 20px; }
.mt-15 { margin-top: 15px; }
.mt-40 { margin-top: 40px; }
.mt-40-center {
    margin-top: 40px;
    text-align: center;
}

/* Layout utilities */
.flex-center-gap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.flex-1 { flex: 1; }

/* Form labels */
.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-primary);
}

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

/* Transform utilities */
.scale-120 { transform: scale(1.2); }

/* Alert boxes */
.alert-danger {
    background: var(--danger-color);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-success {
    background: var(--success-color);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-warning {
    background: var(--warning-color);
    color: white;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

/* Common card pattern */
.card {
    background: var(--bg-secondary);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid var(--border-color);
}

/* Empty state */
.empty-state {
    text-align: center;
    color: var(--text-secondary);
    padding: 40px;
}

/* Responsive image */
.responsive-img {
    max-width: 100%;
    height: auto;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    margin: 0.5rem 0;
}

/* Header section */
.header-section {
    text-align: center;
    margin-bottom: 2rem;
}

.header-section h1 {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin: 0;
}

/* Welcome section (home page) */
.welcome-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.welcome-section h2 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
}

.welcome-section .subtitle {
    margin: 0 0 20px 0;
    font-size: 1.1em;
}

.welcome-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}