/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0088cc 0%, #005a8a 100%);
    min-height: 160px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-title {
    font-size: 42px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
    color: #ffffff !important;
}

.hero-subtitle {
    font-size: 18px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.3);
    opacity: 1 !important;
    color: #ffffff !important;
}

.hero-icon {
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.3));
}

/* Tipo Cards */
.tipo-card {
    border: 3px solid #e0e0e0;
    border-radius: 16px;
    padding: 30px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
    position: relative;
    height: 100%;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tipo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 136, 204, 0.2);
    border-color: #0088cc;
}

.tipo-card input[type="radio"] {
    display: none;
}

.tipo-card input[type="radio"]:checked + .card-content {
    color: white;
}

.tipo-card input[type="radio"]:checked ~ .card-background {
    opacity: 1;
}

.tipo-card input[type="radio"]:checked ~ .check-badge {
    opacity: 1;
    transform: scale(1);
}

.card-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #0088cc 0%, #005a8a 100%);
    border-radius: 13px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    transition: color 0.3s ease;
}

.tipo-icon {
    font-size: 64px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.tipo-card:hover .tipo-icon {
    transform: scale(1.1);
}

.check-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s ease;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

/* Info Box */
.info-box {
    background: #f8f9fa;
    border-left: 4px solid #0088cc;
    border-radius: 8px;
    padding: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item i {
    margin-top: 3px;
    margin-right: 12px;
    font-size: 18px;
}

/* Buttons - Base styles moved to buttons-common.css */
.btn-start {
    border-radius: 8px;
    padding: 18px 50px;
}

/* Content Wrapper */
.content-wrapper {
    background: #f8f9fa;
    min-height: calc(100vh - 300px);
    padding: 60px 0;
}

.main-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 50px;
}

/* Sidebar Banners */
.sidebar-banners {
    position: sticky;
    top: 20px;
}

.banner-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banner-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.banner-card img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-content {
    padding: 20px;
    text-align: center;
}

.banner-content h5 {
    color: #2c3e50;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-content p {
    color: #6c757d;
    font-size: 14px;
    margin-bottom: 15px;
}

.banner-content .btn {
    font-size: 14px;
    padding: 8px 20px;
}

/* Radio buttons de tipo de licencia - Bootstrap btn-check */
.btn-check {
    position: absolute;
    clip: rect(0,0,0,0);
    pointer-events: none;
}

.btn-check:checked + .btn-outline-primary {
    background-color: #0088cc;
    border-color: #0088cc;
    color: white;
}

.btn-check + .btn-outline-primary {
    border: 2px solid #dee2e6;
    color: #495057;
    background-color: white;
    transition: all 0.3s ease;
}

.btn-check + .btn-outline-primary:hover {
    background-color: #f8f9fa;
    border-color: #0088cc;
    color: #0088cc;
}

.btn-check:focus + .btn-outline-primary,
.btn-check + .btn-outline-primary:focus {
    box-shadow: none !important;
    outline: none !important;
    border-color: #dee2e6;
}

.btn-check:checked + .btn-outline-primary:focus {
    border-color: #0088cc;
}

/* Form Controls - Igualar select con input */
.form-label {
    display: block !important;
    margin-bottom: 0.5rem !important;
    width: 100% !important;
    font-size: 12px !important;
}

.form-select.form-select-lg {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem 2.25rem 0.75rem 0.75rem !important;
    font-size: 12px !important;
    border-radius: 0.5rem !important;
    border: 1px solid #dee2e6 !important;
    height: calc(3.5rem + 2px) !important;
    background-position: right 0.75rem center !important;
}

.form-control.form-control-lg {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem !important;
    font-size: 12px !important;
    border-radius: 0.5rem !important;
    height: calc(3.5rem + 2px) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .main-card {
        padding: 30px 20px;
    }

    .tipo-card {
        min-height: 160px;
        padding: 25px 15px;
    }

    .tipo-icon {
        font-size: 48px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }
}
