/* Estilos comunes para páginas públicas */

/* Hero/Header sections */
.page-hero {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.05), rgba(var(--bs-primary-rgb), 0.1));
    padding: 4rem 0;
    margin-bottom: 3rem;
    border-radius: 0 0 20px 20px;
}

.page-hero h1 {
    color: rgb(var(--bs-primary-rgb));
}

/* Section titles */
.section-title-bar {
    background: linear-gradient(135deg, rgba(var(--bs-primary-rgb), 0.1), rgba(var(--bs-primary-rgb), 0.05));
    border-left: 4px solid rgb(var(--bs-primary-rgb));
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
}

/* Cards with icons */
.icon-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.icon-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.icon-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 1rem;
}

/* Contact sections */
.contact-section {
    background: rgba(var(--bs-primary-rgb), 0.05);
    border: 2px solid rgba(var(--bs-primary-rgb), 0.2);
    border-radius: 12px;
    padding: 2rem;
}

/* Copy button feedback */
.btn-copy-success {
    background-color: #28a745 !important;
    border-color: #28a745 !important;
    color: white !important;
}

/* Alert boxes */
.alert-custom {
    border-left: 4px solid;
    border-radius: 8px;
    padding: 1.25rem;
}

.alert-custom.alert-primary {
    border-left-color: rgb(var(--bs-primary-rgb));
    background-color: rgba(var(--bs-primary-rgb), 0.05);
}

.alert-custom.alert-info {
    border-left-color: var(--bs-info);
    background-color: rgba(var(--bs-info-rgb), 0.05);
}

/* Step cards */
.step-card {
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, 
        rgb(var(--bs-primary-rgb)), 
        rgba(var(--bs-primary-rgb), 0.5)
    );
}

/* Form labels styling */
.form-section label,
.wizard-step label,
form label {
    font-weight: 600 !important;
}

/* Required field indicator - multiple selectors for Symfony forms */
.form-section .required label::after,
.wizard-step .required label::after,
form .required label::after,
.form-group.required label::after,
div.required > label::after,
.mb-3.required label::after {
    content: ' *';
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

/* Alternative: target all labels with required inputs */
label[for]:has(+ input[required])::after,
label[for]:has(+ select[required])::after,
label[for]:has(+ textarea[required])::after {
    content: ' *';
    color: #dc3545;
    font-weight: bold;
    margin-left: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero {
        padding: 2rem 0;
    }
    
    .icon-circle {
        width: 60px;
        height: 60px;
    }
}

