
:root {
    --azul-oscuro: #003b70;
    --oro: #c79216;
    --oro-claro: #f2c100;
    --fondo: #f0f2f5;
    --blanco: #ffffff;
}

.course-hero-card {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    background: var(--blanco);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.brand{
	background: var(--azul);
}
.course-media { position: relative; }
.course-media img { width: 100%; border-radius: 10px; }
.status-badge {
    position: absolute; bottom: 15px; left: 15px;
    background: var(--azul-oscuro); color: white;
    padding: 5px 20px; border-radius: 20px; font-weight: bold;
}

.price-tag {
    font-size: 2rem; color: #28a745; font-weight: bold; margin: 15px 0;
}

.text-azul { color: var(--azul-oscuro); }

.curso-card {
    background: #fff;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.curso-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 59, 112, 0.1);
    border-color: var(--oro);
}

.badge-presencial-mini {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 59, 112, 0.9);
    color: #fff;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

.search-wrapper {
    max-width: 650px;
    margin: 0 auto 50px auto;
    padding: 0 15px;
}

.search-box {
    display: flex;
    align-items: center;
    background: #fff;
    border: 2px solid #eee;
    border-radius: 50px; 
    padding: 5px 5px 5px 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.search-box:focus-within {
    border-color: #002b7a; 
    box-shadow: 0 6px 15px rgba(0,43,122,0.1);
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: #333;
    background: transparent;
}


.search-box button {
    background: #002b7a; 
    color: white;
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
    margin-left: 10px;
}

.search-box button:hover {
    background: #d4af37; 
}

.search-box button i {
    font-size: 1.1rem;
}
.card-image { position: relative; }


.grid-modules {
    padding-bottom: 50px;
}
.grid-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}
.form-group { display: flex; flex-direction: column; }
.form-group label { font-weight: bold; margin-bottom: 5px; font-size: 0.9em; }
.form-group input, .form-group select, .form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.full-width { grid-column: span 2; }

.btn-oro-action {
    background: var(--oro); color: white; border: none;
    padding: 10px 1px; border-radius: 5px; cursor: pointer;
    font-weight: bold; transition: 0.3s;
}

.btn-oro-action:hover { background: var(--azul-oscuro); }


.table-wrapper {
    background: white; border-radius: 10px; overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.custom-table { width: 100%; border-collapse: collapse; }
.custom-table th { background: var(--azul-oscuro); color: white; padding: 15px; text-align: left; }
.custom-table td { padding: 15px; border-bottom: 1px solid #eee; }

.btn-whatsapp {
    display: inline-flex; align-items: center; gap: 10px;
    background: #25d366; color: white; text-decoration: none;
    padding: 15px 30px; border-radius: 30px; font-weight: bold;
    margin-top: 30px; transition: 0.3s;
}

.btn-whatsapp:hover { transform: scale(1.05); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }


.no-hover:hover { transform: none !important; border-color: #eee !important; }