/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Mar 27 2026 | 21:09:35 */
/**
 * =====================================================
 * ESTILS PER A LA PÀGINA D'INSCRIPCIÓ
 * =====================================================
 * Aquest fitxer conté TOTS els estils de la pàgina
 * =====================================================
 */

/* Variables i estils en un sol bloc */
:root {
    --color-primari: #4CAF50;
    --color-secundari: #2196F3;
}

/* Estils generals */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 20px;
}

/* Contenidor principal (responsiu)*/
.inscripcio-container {
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    padding: clamp(20px, 5vw, 40px);
    margin: 20px auto;
}
 








h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 10px;
    font-size: clamp(24px, 5vw, 32px);
}

.subtitol {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
    font-size: clamp(14px, 3vw, 18px);
}

/* Missatge informatiu */
.info-ajuda {
    background: #e3f2fd;
    border-left: 4px solid var(--color-secundari);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    font-size: clamp(13px, 2.5vw, 15px);
    color: #0d47a1;
    line-height: 1.6;
    text-align: center;
}

.info-ajuda i {
    font-style: normal;
    font-weight: 600;
}

/* Graella del formulari */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 0;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: clamp(13px, 2.5vw, 14px);
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: clamp(14px, 2.5vw, 16px);
    transition: border-color 0.2s;
    box-sizing: border-box;
}

input:focus {
    outline: none;
    border-color: var(--color-primari);
}

/* Botons */
button {
    width: 100%;
    background: var(--color-primari);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: clamp(16px, 3vw, 18px);
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 10px;
}

button:hover {
    background: #45a049;
}

button:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.btn-continuar {
    background: var(--color-secundari);
    display: none;
}

.btn-continuar:hover {
    background: #1976D2;
}

.btn-reintentar {
    background: #ff9800;
    display: none;
}

.btn-reintentar:hover {
    background: #f57c00;
}

.reintentar-button {
    background: #ff9800;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: background 0.2s;
}

.reintentar-button:hover {
    background: #f57c00;
}

/* Missatges */
.missatge {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    display: none;
    font-weight: 500;
    text-align: center;
    font-size: clamp(13px, 2.5vw, 15px);
}

.missatge.info {
    background: #e3f2fd;
    color: #0d47a1;
    border-left: 4px solid var(--color-secundari);
}

.missatge.success {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid var(--color-primari);
}

.missatge.error {
    background: #f8d7da;
    color: #721c24;
    border-left: 4px solid #dc3545;
}

/* Peu de pàgina */
.info-addicional {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 2px solid #eaeaea;
    font-size: clamp(12px, 2vw, 13px);
    color: #666;
    text-align: center;
}

/* Millores per a pantalles grans */
@media (min-width: 1200px) {
    .inscripcio-container {
        max-width: 1000px;
        padding: 50px;
    }
    
    .form-grid {
        gap: 30px;
    }
}
/* =============================================
   🔧 CORRECTOR: Aquests estils només afecten la pàgina d'inscripció
   ============================================= */

/* La pàgina d'inscripció té l'estil que volem 
body:has(.inscripcio-container) {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

*/
 /* 
body:has(.inscripcio-container) {
    background: #f0f4f8;  /* ← aquí poses el color que vulguis */
 /*     min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

*/

/* Fons defradat molt suau */
body:has(.inscripcio-container) {
    background: linear-gradient(135deg, #e0e7ff, #f1f5f9);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}




/* Qualsevol altra pàgina torna a la normalitat */
body:not(:has(.inscripcio-container)) {
    all: unset; /* Treu tots els estils especials */
}

