  @import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&family=Dancing+Script:wght@600&display=swap');
        
        :root {
            --brand-color: #00a8a8;
            --brand-hover: #008f8f;
            --brand-light: #e6f6f6;
        }

        body {
            font-family: 'Titillium Web', sans-serif;
            background-color: #F8FAFB;
            min-height: 100vh;
            margin: 0;
        }

        .card-shadow {
            box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 8px 15px -6px rgba(0, 0, 0, 0.03);
        }

        .loader {
            border: 4px solid #f3f3f3;
            border-top: 4px solid var(--brand-color);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            animation: spin 1s linear infinite;
            margin: 20px auto;
        }

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

        .bg-brand { background-color: var(--brand-color); }
        .text-brand { color: var(--brand-color); }
        .border-brand { border-color: var(--brand-color); }
        .hover-bg-brand:hover { background-color: var(--brand-hover); }

        .error-shake {
            animation: shake 0.5s cubic-bezier(.36,.07,.19,.97) both;
        }

        @keyframes shake {
            10%, 90% { transform: translate3d(-1px, 0, 0); }
            20%, 80% { transform: translate3d(2px, 0, 0); }
            30%, 50%, 70% { transform: translate3d(-4px, 0, 0); }
            40%, 60% { transform: translate3d(4px, 0, 0); }
        }

        input:focus, select:focus {
            border-color: var(--brand-color) !important;
            outline: none;
            box-shadow: 0 0 0 3px rgba(0, 168, 168, 0.1);
        }

        .label-style {
            display: block;
            font-size: 10px;
            font-weight: 700;
            color: #94a3b8;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 4px;
            margin-left: 4px;
        }

        .role-card {
            transition: all 0.3s ease;
            cursor: pointer;
            border: 2px solid #f1f5f9;
        }

        .role-card:hover {
            border-color: var(--brand-color);
            transform: translateY(-5px);
            box-shadow: 0 10px 15px -3px rgba(0, 168, 168, 0.1);
        }

        .btn-home {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            margin-top: 1.5rem;
            font-size: 11px;
            font-weight: 700;
            color: #64748b;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            cursor: pointer;
            transition: color 0.2s;
        }
        .btn-home:hover { color: var(--brand-color); }

        /* Estilos del Certificado */
        .cert-container {
            font-family: Arial, sans-serif;
            border: 2px solid #00a8a8;
            padding: 24px;
            background: white;
            color: #333;
            font-size: 11px;
            line-height: 1.4;
        }
        .cert-header {
            border-bottom: 1px solid #00a8a8;
            margin-bottom: 12px;
            padding-bottom: 8px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .cert-section-title {
            background-color: transparent;
            color: #00a8a8;
            font-weight: bold;
            font-size: 13px;
            border-bottom: 2px solid #00a8a8;
            margin-bottom: 8px;
            padding-bottom: 2px;
            display: flex;
            justify-content: space-between;
            text-transform: uppercase;
        }
        .cert-box {
            border: 1px solid #e2e8f0;
            border-radius: 8px;
            padding: 12px;
            margin-bottom: 14px;
        }
        .cert-grid {
            display: grid;
            grid-template-columns: 120px 1fr;
            gap: 4px;
        }
        .cert-label { font-weight: bold; color: #64748b; font-size: 9px; text-transform: uppercase; }
        .cert-value { font-weight: 700; color: #1e293b; }

        /* Estilos del Voucher Bancario */
        .voucher-container {
            background: white;
            border-radius: 12px;
            border: 1px solid #e2e8f0;
            padding: 24px;
            position: relative;
        }
        .voucher-header {
            border-bottom: 2px dashed #e2e8f0;
            margin-bottom: 20px;
            padding-bottom: 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .voucher-row {
            display: flex;
            justify-content: space-between;
            padding: 8px 0;
            border-bottom: 1px solid #f1f5f9;
        }
        .voucher-label { font-size: 10px; font-weight: 600; color: #64748b; text-transform: uppercase; }
        .voucher-value { font-size: 11px; font-weight: 700; color: #1e293b; }

        .tab-active {
            border-bottom: 3px solid var(--brand-color);
            color: var(--brand-color);
        }

        .plan-card {
            border: 2px solid #f1f5f9;
            transition: all 0.2s ease;
        }
        .plan-card.active {
            border-color: var(--brand-color);
            background-color: #f0fdfa;
        }

        @media print {
            body { background: white; }
            nav, footer, .no-print, .btn-home { display: none !important; }
            main { padding: 0 !important; }
            .card-shadow { box-shadow: none !important; border: none !important; }
            .cert-container { border: 2px solid #00a8a8 !important; }
        }

