html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #006bb7;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1zbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA9NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

/* ===========================
   LANDING PAGE STYLES
   =========================== */

/* Reset y Base */
.style-selector-container {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 0;
    margin: 0;
    width: 100%;
    position: relative;
}

.style-selector-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Header */
.selector-header {
    background: transparent;
    color: white;
    padding: 4rem 2rem 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.header-content {
    max-width: 900px;
    margin: 0 auto;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin: 0 0 1rem 0;
    line-height: 1.3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.brand-name {
    font-weight: 700;
    display: inline-block;
    font-size: 3rem;
}

.subtitle-separator {
    margin: 0 1rem;
    opacity: 0.8;
    font-weight: 200;
}

.subtitle {
    font-weight: 400;
    display: inline-block;
    opacity: 0.95;
}

.header-description {
    font-size: 1.25rem;
    opacity: 0.95;
    margin: 1rem 0 0 0;
    font-weight: 300;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

/* Main Grid */
.styles-grid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Style Cards */
.style-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    position: relative;
}

.style-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

/* Gradientes */
.card-gradient {
    height: 220px;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gradient-empatico {
    background: linear-gradient(135deg, #FFE5B4 0%, #FFB6C1 30%, #FFA07A 60%, #FF69B4 100%);
    position: relative;
    overflow: hidden;
}

.gradient-empatico::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.gradient-corporativo {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 30%, #3498db 60%, #5dade2 100%);
    position: relative;
    overflow: hidden;
}

.gradient-corporativo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s infinite;
}

.gradient-moderno {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 25%, #f093fb 50%, #f5576c 75%, #4facfe 100%);
    position: relative;
    overflow: hidden;
}

.gradient-moderno::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    animation: rotate 8s linear infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

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

.card-content {
    padding: 3rem 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    background: white;
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: -5rem auto 2rem;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    border: 4px solid white;
}

.style-card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.card-empatico .card-icon {
    color: #ff6b6b;
    background: linear-gradient(135deg, #FFE5B4, #FFB6C1);
}

.card-corporativo .card-icon {
    color: #2980b9;
    background: linear-gradient(135deg, #3498db, #5dade2);
}

.card-moderno .card-icon {
    color: #f5576c;
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.card-title {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1.25rem 0;
    color: #2c3e50;
    text-align: center;
    letter-spacing: -0.5px;
}

.card-description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
    margin: 0 0 2rem 0;
    text-align: center;
}

.card-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.card-features li {
    padding: 0.75rem 0;
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    transition: all 0.2s ease;
}

.card-features li:hover {
    color: #2c3e50;
    transform: translateX(5px);
}

/* Buttons */
.btn-explore {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-explore::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-explore:hover::before {
    width: 300px;
    height: 300px;
}

.btn-empatico {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8787 50%, #feca57 100%);
}

.btn-empatico:hover {
    background: linear-gradient(135deg, #ee5a6f 0%, #ff6b6b 50%, #ffd93d 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

.btn-corporativo {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 50%, #5dade2 100%);
}

.btn-corporativo:hover {
    background: linear-gradient(135deg, #21618c 0%, #2980b9 50%, #3498db 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(41, 128, 185, 0.4);
}

.btn-moderno {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f5576c 100%);
}

.btn-moderno:hover {
    background: linear-gradient(135deg, #764ba2 0%, #f5576c 50%, #f093fb 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(118, 75, 162, 0.4);
}

.btn-explore:active {
    transform: translateY(-1px);
}

/* Footer */
.selector-footer {
    background: rgba(255, 255, 255, 0.95);
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 900px;
    margin: 0 auto;
}

.footer-note {
    font-size: 1.05rem;
    color: #666;
    margin: 0;
    line-height: 1.8;
    font-weight: 400;
}

/* Responsive Design */
@media (min-width: 768px) {
    .styles-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 4rem 2rem;
        gap: 2.5rem;
    }

    .main-title {
        font-size: 3rem;
    }

    .brand-name {
        font-size: 3.5rem;
    }

    .header-description {
        font-size: 1.4rem;
    }

    .card-gradient {
        height: 240px;
    }
}

@media (min-width: 1024px) {
    .styles-grid {
        grid-template-columns: repeat(3, 1fr);
        padding: 5rem 2rem;
        gap: 3rem;
    }

    .selector-header {
        padding: 5rem 2rem 4rem;
    }

    .main-title {
        font-size: 3.5rem;
    }

    .brand-name {
        font-size: 4rem;
    }

    .card-gradient {
        height: 260px;
    }
}

@media (min-width: 1440px) {
    .main-title {
        font-size: 4rem;
    }

    .brand-name {
        font-size: 4.5rem;
    }

    .card-content {
        padding: 3rem 2.5rem 2.5rem;
    }
}

@media (max-width: 480px) {
    .selector-header {
        padding: 3rem 1.5rem 2rem;
    }

    .main-title {
        font-size: 1.75rem;
    }

    .brand-name {
        font-size: 2rem;
        display: block;
        margin-bottom: 0.5rem;
    }

    .subtitle-separator {
        display: none;
    }

    .subtitle {
        display: block;
        font-size: 1.5rem;
    }

    .header-description {
        font-size: 1rem;
    }

    .card-gradient {
        height: 180px;
    }

    .card-content {
        padding: 2.5rem 1.5rem 1.5rem;
    }

    .card-title {
        font-size: 1.5rem;
    }

    .card-icon {
        width: 70px;
        height: 70px;
        margin: -4.5rem auto 1.5rem;
    }

    .footer-note {
        font-size: 0.95rem;
    }
}

/* ===========================
   PAGE LINKS EN TARJETAS
   =========================== */
.page-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid #f0f0f0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.page-link svg {
    width: 16px;
    height: 16px;
}

/* Estilo Empático */
.page-link-empatico {
    background: rgba(255, 107, 107, 0.1);
    color: #ff6b6b;
    border-color: rgba(255, 107, 107, 0.2);
}

.page-link-empatico:hover {
    background: #ff6b6b;
    color: white;
    border-color: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Estilo Corporativo */
.page-link-corporativo {
    background: rgba(41, 128, 185, 0.1);
    color: #2980b9;
    border-color: rgba(41, 128, 185, 0.2);
}

.page-link-corporativo:hover {
    background: #2980b9;
    color: white;
    border-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(41, 128, 185, 0.3);
}

/* Estilo Moderno */
.page-link-moderno {
    background: rgba(245, 87, 108, 0.1);
    color: #f5576c;
    border-color: rgba(245, 87, 108, 0.2);
}

.page-link-moderno:hover {
    background: #f5576c;
    color: white;
    border-color: #f5576c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.3);
}

/* Responsive para page links */
@media (max-width: 480px) {
    .page-links {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .page-link {
        font-size: 0.85rem;
        padding: 0.6rem 0.8rem;
    }
}
