/**
 * YEIRA Tornado CSS
 * Single source of truth for all styles
 * No inline styles or custom classes in templates
 */

/* ============================================
   1. CSS Variables & Theme System
   ============================================ */
:root {
    /* Dynamic theme colors (from database colorGral) */
    --primary-color: #5643dd;
    --primary-hover: #4532cc;
    --primary-light: rgba(86, 67, 221, 0.1);
    
    /* Text colors */
    --text-primary: #666666;    /* Main body text */
    --text-secondary: #666666;  /* Secondary text */
    --text-muted: #999999;
    --text-white: #ffffff;
    --text-heading: #4a4a4a;    /* Headings and titles */
    
    /* Background colors */
    --bg-white: #ffffff;
    --bg-light: #f5f5f5;
    --bg-lighter: #fafafa;
    --bg-dark: #2c3e50;
    
    /* Border colors */
    --border-light: #e0e0e0;
    --border-medium: #cccccc;
    
    /* Status colors */
    --success: #4caf50;
    --warning: #ff9800;
    --error: #f44336;
    --info: #2196f3;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12);
    --shadow-md: 0 2px 6px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 20px rgba(0,0,0,0.15);
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

/* ============================================
   2. Reset & Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
}

body {
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-primary);  /* #666666 for body text */
    background-color: var(--bg-white);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Paragraph spacing - Override Materialize defaults */
p {
    margin: 14px 0 !important;
    font-size: 14px !important;
    line-height: 1.8 !important;
}

/* Remove top margin for first paragraph in a container */
p:first-child {
    margin-top: 0 !important;
}

/* Remove bottom margin for last paragraph in a container */
p:last-child {
    margin-bottom: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    color: var(--text-heading);  /* #4a4a4a for all headings */
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

/* ============================================
   3. Authentication Layouts
   ============================================ */

/* Split layout for closed platform */
.auth-split-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

.auth-split-banner {
    flex: 0 0 33.333%;
    width: 33.333%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0;
    padding: 0;
}

.auth-split-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    width: 100%;
}

.auth-split-banner-text {
    text-align: center;
    width: 100%;
    max-width: 400px;
}

.auth-split-banner-text h1 {
    color: var(--text-white);
    font-size: 1.5625rem; /* 25px */
    margin-bottom: var(--spacing-sm);
    text-align: center;
    font-weight: 400;
}

.auth-split-banner-text h2 {
    color: var(--text-white);
    font-size: 1.125rem; /* 18px */
    font-weight: 400;
    text-align: center;
}

.auth-split-form {
    flex: 0 0 66.667%;
    width: 66.667%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl);
    background: var(--bg-white);
    margin: 0;
}

/* Centered layout for open platform */
.auth-centered-layout {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.auth-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    width: 100%;
    max-width: 400px;
    padding: var(--spacing-xxl) var(--spacing-xl);
}

.auth-container {
    width: 100%;
    max-width: 500px;
    padding: 0 var(--spacing-lg);
}

.auth-logo {
    text-align: left;
    margin-bottom: var(--spacing-xl);
    padding-top: 10px;
}

.auth-logo a {
    text-decoration: none;
}

.auth-logo img {
    height: 80px;
    width: auto;
    margin-bottom: 25px;
}

.auth-logo h2 {
    color: var(--text-primary);
    font-size: 2rem;
    margin: 0;
}

.auth-avatar {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.auth-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.auth-title {
    font-size: 1.875rem; /* 30px */
    font-weight: 400;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
    line-height: 1.2;
}

/* ============================================
   4. Form Styles
   ============================================ */

.form-auth {
    width: 100%;
}

.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-input-group {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-input-group .material-symbols-outlined {
    position: absolute;
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 20px;
}

.form-input-group input {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-md) calc(var(--spacing-xxl) + 8px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    transition: all var(--transition-fast);
    background: var(--bg-white);
}

.form-input-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-input-group input::placeholder {
    color: var(--text-muted);
}

.form-checkbox {
    display: flex;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: var(--spacing-sm);
}

.form-checkbox label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    cursor: pointer;
}

.form-error {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
    display: block;
}

.form-link {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-align: center;
    margin-top: var(--spacing-lg);
}

/* ============================================
   5. Button Styles
   ============================================ */

.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    color: var(--text-white) !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    letter-spacing: 1.5px !important;
    font-family: 'Roboto', sans-serif !important;
    border: 0 !important;
    padding: 8px 15px !important;
    height: 54px !important;
    line-height: 38px !important;
    min-width: 200px !important;
    outline: 0 !important;
    text-decoration: none !important;
    text-align: center !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

.btn-primary:hover,
.btn-primary:active,
.btn-primary:focus {
    background-color: var(--primary-hover) !important;
    color: var(--text-white) !important;
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14), 0 1px 7px 0 rgba(0,0,0,0.12), 0 3px 1px -1px rgba(0,0,0,0.2) !important;
}

.btn-rounded {
    border-radius: var(--radius-full);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ============================================
   6. Social Links
   ============================================ */

.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    transition: all var(--transition-fast);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.social-links a:hover .material-symbols-outlined {
    color: var(--text-white);
}

.social-links .material-symbols-outlined {
    font-size: 20px;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.social-links-banner {
    position: absolute;
    bottom: var(--spacing-xxl);
    left: 50%;
    transform: translateX(-50%);
}

.social-links-banner a {
    background: rgba(255, 255, 255, 0.2);
}

.social-links-banner a:hover {
    background: rgba(255, 255, 255, 0.3);
}

.social-links-banner .material-symbols-outlined {
    color: var(--text-white);
}

/* ============================================
   7. Navigation
   ============================================ */

.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand img {
    height: 40px;
    width: auto;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
    list-style: none;
}

.navbar-menu a {
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.navbar-menu a:hover {
    color: var(--primary-color);
}

/* ============================================
   8. Cards
   ============================================ */

.card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: var(--spacing-lg);
}

.card-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
}

.card-description {
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* ============================================
   9. Course Specific
   ============================================ */

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-xl);
}

.course-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.course-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.course-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.course-content {
    padding: var(--spacing-lg);
}

.course-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-md);
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.course-price {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ============================================
   10. Utilities
   ============================================ */

/* Override Materialize container widths */
.container {
    width: 90%;
    max-width: 1050px !important;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

@media only screen and (min-width: 993px) {
    .container {
        width: 85%;
        max-width: 1050px !important;
    }
}

@media only screen and (min-width: 1200px) {
    .container {
        width: 80%;
        max-width: 1050px !important;
    }
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--text-primary); }
.text-secondary { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }
.text-white { color: var(--text-white); }

.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }

.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }

.hidden { display: none; }
.visible { display: block; }

/* ============================================
   11. Login Page Specific
   ============================================ */

/* Login Page Layout */
.login {
    min-height: 100vh;
    background-color: #ffffff;
}

/* Full width container */
.login-container-full {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: none !important;
}

.login-row {
    margin: 0 !important;
    padding: 0 !important;
}

/* Banner Column (Left Side - 33.33%) */
.login-banner-col {
    padding: 0 !important;
    margin: 0 !important;
}

.login-banner {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    position: relative;
}

/* Dark overlay when text is present */
.login-banner.with-overlay {
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4) !important;
}

.login-banner-text {
    text-align: center;
}

.login-banner-title {
    color: #ffffff !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    font-family: 'Lato', sans-serif !important;
    margin: 0 0 10px 0 !important;
    line-height: 1.2 !important;
}

.login-banner-subtitle {
    color: #ffffff !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    font-family: 'Lato', sans-serif !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* Social links in banner */
.login-social-banner {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    text-align: center;
}

/* Form Column (Right Side - 66.66%) */
.login-form-col {
    padding: 0 !important;
}

.login-form-col .container {
    width: 90% !important;
    max-width: 600px !important;
}

.login-form-wrapper {
    margin-top: 45px;
    padding-bottom: 0;
}

/* Logo */
.login-logo-wrapper {
    text-align: left;
    margin-bottom: 25px;
}

.login-logo-link {
    text-decoration: none;
    display: inline-block;
}

.login-logo {
    height: 80px;
    padding-top: 10px;
}

.login-logo-text {
    font-size: 24px;
    color: var(--text-primary);
    font-weight: 500;
    font-family: 'Lato', sans-serif;
}

/* Title */
.login-title {
    text-align: left !important;
    font-size: 30px !important;
    color: #666666 !important;
    font-weight: 400 !important;
    font-family: 'Lato', sans-serif !important;
    margin: 0 0 30px 0 !important;
    line-height: 1.2 !important;
}

/* Form Inputs */
.login-form .row {
    margin-bottom: 20px;
}

.login-input-field {
    position: relative;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.login-input-field .prefix {
    position: absolute;
    width: 3rem;
    font-size: 1.5rem;
    transition: color .2s;
    top: 0.5rem;
    color: #9e9e9e;
}

.login-input-field .prefix.active {
    color: var(--primary-color);
}

.login-input {
    background-color: transparent !important;
    border: none !important;
    border-bottom: 1px solid #9e9e9e !important;
    border-radius: 0 !important;
    outline: none !important;
    height: 3rem !important;
    width: 100% !important;
    font-size: 16px !important;
    margin: 0 0 8px 0 !important;
    padding: 0 0 0 3rem !important;
    box-shadow: none !important;
    box-sizing: border-box !important;  /* Include padding in width calculation */
    transition: box-shadow .3s, border .3s !important;
    font-family: 'Lato', sans-serif !important;
}

.login-input:focus {
    border-bottom: 1px solid var(--primary-color) !important;
    box-shadow: 0 1px 0 0 var(--primary-color) !important;
}

.login-input::placeholder {
    color: #9e9e9e;
    font-weight: 300;
}

/* Checkbox */
.login-checkbox-wrapper {
    margin-bottom: 20px;
}

.login-checkbox-wrapper label {
    position: relative;
    padding-left: 35px;
    cursor: pointer;
    display: inline-block;
    height: 25px;
    line-height: 25px;
    font-size: 1rem;
    user-select: none;
}

.login-checkbox-text {
    color: #636363 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    font-family: 'Lato', sans-serif !important;
}

/* Button styles from Laravel - naranja class */
.naranja {
    text-transform: uppercase !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    letter-spacing: 1.5px !important;
}

.btn.naranja {
    background-color: #ee7045 !important;
    border: 0 !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    font-weight: 900 !important;
    font-size: 12px !important;
    letter-spacing: 1.5px !important;
}

.btn.naranja:hover, 
.btn.naranja:active, 
.btn.naranja:focus {
    background-color: #c53e1a !important;
    color: #FFFFFF !important;
}

.btn.rounded {
    border-radius: 50px !important;
}

.btn.lowercase {
    text-transform: lowercase !important;
}

/* Combined button class for login */
.btn.naranja.rounded.lowercase {
    padding: 8px 15px !important;
    font-family: 'Roboto', sans-serif !important;
    height: 54px !important;
    line-height: 38px !important;
    min-width: 200px !important;
    text-transform: uppercase !important;  /* naranja class overrides lowercase */
    outline: 0 !important;
    text-decoration: none !important;
    text-align: center !important;
    display: inline-block !important;
    vertical-align: middle !important;
    cursor: pointer !important;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 3px 1px -2px rgba(0,0,0,0.12), 0 1px 5px 0 rgba(0,0,0,0.2) !important;
    transition: box-shadow .25s, background-color .25s !important;
}

.btn.naranja.rounded.lowercase:hover {
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14), 0 1px 7px 0 rgba(0,0,0,0.12), 0 3px 1px -1px rgba(0,0,0,0.2) !important;
}

.login-button-wrapper {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Links */
.login-link-text {
    color: #636363 !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-align: left !important;
    margin-bottom: 10px !important;
    font-family: 'Lato', sans-serif !important;
}

.login-link {
    color: var(--primary-color) !important;
    text-decoration: none !important;
    font-weight: 400 !important;
    transition: color 0.3s !important;
}

.login-link:hover {
    color: var(--primary-hover) !important;
    text-decoration: underline !important;
}

/* Social Links */
.social-links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
}

.social-links li {
    margin: 0 !important;
    display: inline-block !important;
}

.social-links a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
}

/* SVG icons in social links */
.social-links svg {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 auto !important;
}

/* Material Icons in social links */
.social-links .material-icons {
    font-size: 20px !important;
}

/* Banner social icons (white on transparent) */
.social-links-banner a {
    background-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.social-links-banner a:hover {
    background-color: rgba(255, 255, 255, 0.3) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
    transform: translateY(-2px) !important;
}

.social-links-banner svg path {
    fill: #ffffff !important;
}

/* Form social icons (gray) */
.login-social-form {
    margin-top: 30px !important;
    text-align: center !important;
}

.social-links-form a {
    background-color: #f5f5f5 !important;
    color: #666666 !important;
    border: 1px solid #e0e0e0 !important;
}

.social-links-form a:hover {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
    border-color: var(--primary-color) !important;
    transform: translateY(-2px) !important;
}

.social-links-form svg path {
    fill: #666666 !important;
    transition: fill 0.3s ease !important;
}

.social-links-form a:hover svg path {
    fill: #ffffff !important;
}

/* Error Messages */
.helper-text {
    display: block;
    font-size: 12px;
    margin-top: 5px;
}

.helper-text.red-text {
    color: #f44336 !important;
}

/* ============================================
   12. Responsive Design
   ============================================ */

@media (max-width: 768px) {
    .auth-split-layout {
        flex-direction: column;
    }
    
    .auth-split-banner {
        display: none !important; /* Hide banner on mobile */
    }
    
    .auth-split-form {
        flex: 1 1 100%;
        width: 100%;
        padding: var(--spacing-lg);
    }
    
    .auth-container {
        max-width: 100%;
    }
    
    .course-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar-menu {
        display: none; /* Will be replaced with mobile menu */
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media only screen and (max-width: 600px) {
    /* Hide banner on mobile */
    .login-banner-col {
        display: none !important;
    }
    
    /* Full width form on mobile */
    .login-form-col {
        width: 100% !important;
    }
    
    .login-form-col .container {
        width: 90% !important;
        padding: 0 15px !important;
    }
    
    .login-form-wrapper {
        margin-top: 30px;
    }
    
    .login-title {
        font-size: 24px !important;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: var(--spacing-lg);
    }
    
    .btn {
        padding: var(--spacing-md) var(--spacing-lg);
    }
}/* CSS variables from main.css - merged into tornado.css */
:root {
    --primary-color: #667eea;
    --secondary-color: #764ba2;
    --success-color: #48bb78;
    --danger-color: #f56565;
    --warning-color: #ed8936;
    --info-color: #4299e1;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ============================================
   18. Home Page Banner Styles
   ============================================ */

/* Desktop Banner */
#banner-primary {
    width: 100%;
    height: auto;
    display: block;
}

.img-ban {
    width: 100%;
}

#banner-home {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

#banner-home h1 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 36px;
    color: #fff;
    font-weight: 300;
}

#banner-home h2 {
    margin-top: 0;
    font-size: 21px;
    color: #fff;
    font-weight: 300;
}

#banner-home h2 br {
    display: none;
}

.c-banner {
    position: relative;
}

.c-banner #banner-home {
    position: absolute;
}

/* Mobile Banner */
.banner-mobile {
    display: none;
}

#banner-home-m {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

#banner-home-m h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

#banner-home-m h2 {
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
}

/* Remove duplicate styles - these are now in banner form section */

/* ============================================
   19. Course Catalog Styles
   ============================================ */

/* Course List Container */
#cursos {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

/* Course Card Styles */
#course-list,
.course-list {
    position: relative;
    margin-bottom: 3rem;
    height: 333px;
}

#course-list .card,
.course-list .card {
    margin: 0;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.course-list .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

#cursos .card .card-image,
.course-list .card-image {
    width: 100%;
    position: relative;
    height: 123px;
    overflow: hidden;
    background: var(--bg-light);
}

#cursos .card .card-image img,
.course-list .card-image img {
    margin: auto;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#template2.card-content,
#cursos .card .card-content,
.course-list .card-content {
    padding: 20px 30px 60px 30px;
    height: 210px;
    position: relative;
}

.course-list .card-subtitle, 
.card-subtitle {
    font-size: 12px;
    color: #B3B3B3;
    letter-spacing: 0;
    line-height: 20px;
    margin-bottom: var(--spacing-xs);
}

.course-list .card-title-name,
.card-title-name {
    font-weight: 400;
    font-size: 18px;
    color: #333333;
    line-height: 30px;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.course-list .course-dates {
    margin-top: var(--spacing-sm);
}

.course-list .courseDate {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-right: var(--spacing-sm);
}

.course-list .courseDate i {
    margin-right: 3px;
}

.course-list .course-meta {
    margin-top: var(--spacing-sm);
    padding-top: var(--spacing-sm);
    border-top: 1px solid var(--border-light);
}

.course-list .course-meta small {
    display: inline-flex;
    align-items: center;
    margin-right: var(--spacing-md);
}

.course-list .course-meta i {
    margin-right: 3px;
}

/* Course Card Action Area */
.course-list .card-action {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-lighter);
    border-top: 1px solid var(--border-light);
}

#cursos .card .card-content .botones,
.botones {
    position: absolute;
    bottom: 0px;
    left: 0;
    width: 100%;
    border-top: 1px solid #F0F0F0;
    padding-top: 10px;
    padding-bottom: 10px;
    background: white;
}

.btnarea1 {
    margin: 0;
}

.course-list .btnarea,
.btnarea {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    min-height: 40px;
    padding: 0 30px;
}

.course-list .btn-more-course,
.btn-more-course {
    text-transform: uppercase;
    font-weight: bold;
    font-size: 9px;
    color: #B3B3B3;
    display: inline-flex;
    white-space: nowrap;
    align-items: center;
    transition: all 0.3s;
    text-decoration: none;
    padding: 0;
    border: none;
    background: none;
}

.course-list .btn-more-course:hover,
.btn-more-course:hover {
    color: var(--primary-color);
}

/* Shop buttons */
.btn-shop {
    font-weight: 500;
    display: inline-block;
    border-radius: 4px;
    background: #726B75;
    padding: 6px 12px;
    width: auto !important;
    color: white;
    font-size: 14px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-shop:hover {
    background: #444046;
    color: #FFFFFF;
}

.btn-shop i {
    font-size: 19px;
    vertical-align: middle;
    margin-right: 3px;
}

.btn-shop-red {
    font-weight: 500;
    display: inline-block;
    border-radius: 4px;
    background: #F46A62;
    padding: 6px 12px;
    width: auto !important;
    color: white;
    font-size: 14px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-shop-red:hover {
    background: #D3463B;
    color: #FFFFFF;
}

.btn-shop-red i {
    font-size: 19px;
    vertical-align: middle;
    margin-right: 3px;
}

.btn-shop-blue {
    font-weight: 500;
    display: inline-block;
    border-radius: 4px;
    background: #0871F4;
    padding: 6px 12px;
    width: auto !important;
    color: white;
    font-size: 14px;
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.btn-shop-blue:hover {
    background: #0661d9;
    color: #FFFFFF;
}

.btn-shop-blue i {
    font-size: 19px;
    vertical-align: middle;
    margin-right: 3px;
}


.tachado {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 4px;
}

/* Button unstyle for card click */
.btn-unstyle {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    text-align: left;
    cursor: pointer;
    display: block;
    font: inherit;
    color: inherit;
    text-decoration: none;
}

.btn-unstyle:focus,
.btn-unstyle:active,
.btn-unstyle:focus-visible {
    outline: none !important;
    background: none !important;
    box-shadow: none !important;
    color: inherit !important;
}

/* Override Materialize button focus states */
button.btn-unstyle:focus,
button.btn-unstyle:active,
button.btn-unstyle:hover:active,
button.btn-unstyle:focus:active {
    background-color: transparent !important;
    color: inherit !important;
}

/* Remove tap highlight on mobile */
.btn-unstyle {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.course-list .btn-more-course i,
.btn-more-course i {
    margin-right: 7px;
    font-size: 19px;
    vertical-align: middle;
    position: relative;
    top: -1px;
}

.course-list .btn-shop {
    font-weight: 500;
    display: inline-block;
    border-radius: 4px;
    background: #726B75;
    padding: 2px 10px;
    width: auto !important;
    color: white;
    font-size: 14px;
    transition: background 0.3s ease;
    white-space: nowrap;
}

.course-list .btn-shop:hover {
    background: #444046;
    color: #FFFFFF;
}

.course-list .btn-shop-red {
    font-weight: 500;
    display: inline-block;
    border-radius: 4px;
    background: #F46A62;
    padding: 2px 10px;
    width: auto !important;
    color: white;
    font-size: 14px;
    white-space: nowrap;
}

.course-list .btn-shop-red:hover {
    background: #D3463B;
    color: #FFFFFF;
}

.course-list .btn-shop-blue {
    font-weight: 500;
    display: inline-block;
    border-radius: 4px;
    background: #0871F4;
    padding: 2px 10px;
    width: auto !important;
    color: white;
    font-size: 14px;
    white-space: nowrap;
}

.course-list .btn-shop-blue:hover {
    background: #0661d9;
    color: #FFFFFF;
}

.course-list .btn-shop i,
.course-list .btn-shop-red i,
.course-list .btn-shop-blue i {
    margin-right: 4px;
    vertical-align: middle;
    font-size: 16px !important;
}

.tag-discount {
    font-size: 12px;
    color: #8E9197;
    padding-left: 5px;
    display: inline-block;
}

#template2 .tag-discount {
    margin-left: 5px;
}

.tachado {
    text-decoration: line-through;
}

/* Button Unstyle */
.btn-unstyle {
    background: none;
    border: none;
    padding: 0;
    width: 100%;
    text-align: left;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    display: block;
}

/* Filter Panel */
#filter-form .card-panel {
    margin-bottom: var(--spacing-lg);
}

#filter-form .input-field {
    margin-bottom: 0;
}

/* Search Results Count */
.grey-text {
    color: var(--text-muted);
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    margin: var(--spacing-xl) 0;
}

.pagination li {
    display: inline-block;
}

.pagination li a {
    color: var(--text-primary);
    padding: 0 12px;
    height: 36px;
    line-height: 36px;
    display: block;
    transition: background 0.3s ease;
}

.pagination li.active a {
    background: var(--primary-color);
    color: white;
}

.pagination li.waves-effect a:hover {
    background: var(--bg-light);
}

.pagination li.disabled a {
    color: var(--text-muted);
    cursor: default;
}

/* Responsive Adjustments for Courses */
@media only screen and (max-width: 600px) {
    .course-list .card-content {
        padding: var(--spacing-sm);
        min-height: 150px;
    }
    
    .course-list .card-title-name {
        font-size: 1rem;
    }
    
    #filter-form .input-field {
        margin-bottom: var(--spacing-sm);
    }
}

@media only screen and (min-width: 601px) and (max-width: 992px) {
    .course-list {
        max-width: 50%;
    }
}

/* ===== Course Detail Page Styles ===== */

/* Course Content Section */
.course-content-section {
    background-color: #F4F3F2;
    padding: 40px 0;
    min-height: 400px;
}

/* Sidebar Cards */
.course-sidebar .card {
    margin-bottom: 20px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    background: white;
}

.course-sidebar .card-content h5 {
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 1.3rem;
    color: #333;
}

.course-detail-item {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    color: #666;
}

.course-detail-item i {
    vertical-align: middle;
    color: #999;
    margin-right: 10px;
    font-size: 20px;
}

.course-detail-item .label {
    font-weight: 600;
    margin-right: 5px;
}

.instructor-card .instructor-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.instructor-card .instructor-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    margin-right: 15px;
}

.instructor-card .instructor-name {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 5px;
    color: #333;
}

.instructor-card .instructor-title {
    text-transform: uppercase;
    color: #666;
    font-size: 0.9em;
    letter-spacing: 0.5px;
}

.instructor-card .instructor-bio {
    margin-top: 15px;
    color: #666;
    line-height: 1.6;
}

.requirements-section h5,
.target-audience-section h5 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #333;
}

.requirements-section .content,
.target-audience-section .content {
    color: #666;
    line-height: 1.6;
}

/* ===== Course Detail Page Styles ===== */
.curso-titulo {
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0,0,0,.4);
    padding: 100px 0 80px;
    color: white;
    text-align: center;
    position: relative;
    min-height: 450px;
    display: flex;
    align-items: center;
}

.curso-titulo h1 {
    color: white;
    font-size: 3em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.curso-titulo h2 {
    color: white;
    font-size: 1.3em;
    font-weight: 300;
    margin-bottom: 30px;
    opacity: 0.95;
}

.back-button {
    position: absolute;
    top: 30px;
    left: 30px;
    color: white;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.back-button:hover {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.back-button i {
    font-size: 16px;
}

.btn-principal {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 35px;
    border-radius: 50px;
    text-transform: uppercase;
    display: inline-block;
    margin: 10px 5px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-principal:hover {
    background-color: var(--primary-hover);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    text-decoration: none;
}

.btn-principal i {
    vertical-align: middle;
    margin-right: 8px;
    font-size: 18px;
}

.btn-principal.btn-disabled {
    background-color: #ccc !important;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-principal.btn-disabled:hover {
    transform: none;
    box-shadow: none;
}

.label-price-banner {
    font-size: 2.5em;
    color: #F6A642;
    display: inline-block;
    margin-top: 30px;
    font-weight: 700;
}

.label-price-banner small {
    font-size: 0.5em;
    font-weight: 400;
    color: white;
    margin-left: 5px;
}

.tachado {
    text-decoration: line-through;
    color: rgba(255,255,255,0.6);
    font-size: 1.2em;
    margin-right: 10px;
}

.discount-label {
    color: #F6A642;
    font-weight: 600;
    font-size: 1.1em;
}

.btn-default-border {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    display: inline-block;
    margin: 10px 5px;
    font-weight: 600;
    font-size: 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-default-border:hover {
    background: rgba(255,255,255,0.1);
    color: white;
    border-color: rgba(255,255,255,0.8);
    text-decoration: none;
}

.btn-default-border i {
    vertical-align: middle;
    margin-right: 8px;
    font-size: 16px;
}

.curso-descripcion {
    margin-top: 0;
}

.curso-descripcion .card {
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-radius: 4px;
}

.curso-descripcion img {
    max-width: 100%;
    height: auto;
}

.curso-descripcion ul {
    margin-left: 25px;
}

.curso-descripcion ul li {
    list-style: disc;
    color: #666666;
    line-height: 1.8;
}

.curso-descripcion ol {
    margin-left: 25px;
}

.curso-descripcion ol li {
    list-style: decimal;
    color: #666666;
    line-height: 1.8;
}

.curso-descripcion iframe {
    max-width: 100%;
}

.curso-barra {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding: 25px 0;
    margin: -40px auto 40px;
    position: relative;
    z-index: 10;
    border-radius: 4px;
}

.block-acerca,
.block-objetivos {
    margin-bottom: 30px;
}

.block-acerca h3,
.block-objetivos h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.contenidos-curso {
    padding: 30px;
    background: white;
    border-radius: 4px;
}

.contenidos-curso h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

/* Collapsible Curriculum Styles */
.collapsible {
    border: none !important;
    box-shadow: none !important;
    margin: 20px 0;
}

ul.collapsible {
    padding-left: 0 !important;
    margin-left: 0 !important;
}

.collapsible li {
    list-style: none !important;
    margin: 0 !important;
}

.collapsible-header {
    background-color: white !important;
    border: none !important;
    border-bottom: 1px solid #e0e0e0 !important;
    padding: 20px 15px !important;
    position: relative;
    display: flex;
    align-items: center;
    min-height: 70px;
    transition: all 0.3s ease;
    font-weight: 600;
    color: #333;
    text-align: left;
}

.collapsible-header:hover {
    background-color: #fafafa !important;
}

.collapsible-header i.material-icons {
    margin: 0;
    color: #666;
}

.collapsible-body {
    border: none !important;
    padding: 20px 15px !important;
    background: white !important;
}

.block-resources-list {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.block-resources-list:hover {
    background-color: #f8f8f8;
}

.block-resources-list:last-child {
    border-bottom: none;
}

.block-resources-list i {
    color: #999;
    font-size: 20px;
}

.statuscursomsg {
    font-size: 13px;
    font-style: italic;
}

.statusmsg {
    position: absolute;
    right: 15px;
    font-size: 12px;
    font-style: italic;
}

/* Progress Bar Styles */
.progress {
    height: 6px;
    background-color: #F5F5F5;
    border-radius: 3px;
    overflow: hidden;
}

.progress .determinate {
    background-color: #F6A642;
}

/* Video Container */
.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-container iframe,
.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Status Colors */
.terminado {
    color: #24BA79 !important;
    font-weight: bold;
}

.proceso {
    color: #F1713D !important;
    font-weight: bold;
}

.novistomsg {
    color: #9B9B9B;
}

.completado {
    color: #41A982;
}

/* Lock/Unlock Icons */
.lock, .unlock {
    float: right;
    display: block;
    margin-top: 3px;
    color: #9B9B9B;
}

/* Button Styles for Course Detail */
.btn-default-border {
    background: transparent;
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-transform: uppercase;
    display: inline-block;
    margin: 5px;
}

.btn-default-border:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Responsive Course Detail */
@media only screen and (max-width: 600px) {
    .curso-titulo h1 {
        font-size: 1.8em;
    }
    
    .curso-titulo h2 {
        font-size: 1.2em;
    }
    
    .statuscursomsg {
        display: none;
    }
    
    .statuscursomsg-xs {
        display: block;
        margin-top: 5px;
        font-size: 11px;
    }
}

@media only screen and (min-width: 601px) {
    .statuscursomsg-xs {
        display: none;
    }
}

/* ============================================
   18. Public Landing Page
   ============================================ */

/* Banner Section */
.banner-section {
    position: relative;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.banner-mobile {
    display: none;
}

.banner-img {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}


.c-banner {
    position: relative;
}

.c-banner img {
    vertical-align: top;
    position: relative;
    z-index: 0;
}

.c-banner:after {
    content: '\A';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    opacity: 1;
    z-index: 1;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

#banner-home {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    z-index: 100;
}

#banner-home-m {
    position: relative;
    width: 100%;
}

.textB1 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-align: center;
}

.textB2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 2rem;
    line-height: 1.3;
    text-align: center;
}

/* Banner form and buttons */
#banner-home .subscripcion {
    margin-top: 40px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 40px;
    background: #FFFFFF;
    padding-right: 3px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#banner-home form {
    clear: both;
}

#banner-home input {
    margin-right: 2%;
    margin-bottom: 0;
    padding: 0 6px;
    width: 65%;
    border: 0;
    display: inline-block;
    font-size: 1.2rem;
    text-align: left;
    color: #999;
    height: 45px;
}

#banner-home input:focus {
    border-bottom: 0;
    webkit-box-shadow: 0 0px 0 0 #03a9f4;
    -moz-box-shadow: 0 0px 0 0 #03a9f4;
    box-shadow: 0 0px 0 0 #03a9f4;
}

#banner-home ::-webkit-input-placeholder {
    color: #c2c2c2;
}

#banner-home :-moz-placeholder {
    color: #c2c2c2;
}

#banner-home ::-moz-placeholder {
    color: #c2c2c2;
}

#banner-home :-ms-input-placeholder {
    color: #c2c2c2;
}

#banner-home .subscripcion button {
    display: inline-block;
    background: #ee7045;
    color: #fff;
    font-weight: 600;
    border-radius: 200px;
    float: right;
    height: 39px !important;
    width: 139px;
    margin-top: 3px;
}

#banner-home .subscripcion button:hover {
    background: #c53e1a;
}

#banner-home .boton {
    display: none;
}

#banner-home .costo {
    font-size: 18px;
    font-weight: 300;
    color: #c53e1a;
    text-align: center;
    margin: 20px auto;
}

.btn-cta {
    background: #666666;
    border-radius: 50px;
    min-width: 180px;
    width: auto;
    padding: 8px 30px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 12px !important;
    display: inline-block;
    color: #FFFFFF;
    line-height: 25px;
    height: auto;
    white-space: nowrap;
}

.btn-cta:hover {
    background: #666666;
    color: #FFFFFF;
}

.btn.btn-cta-outline,
.btn-cta.btn-cta-outline {
    background-color: #FFFFFF !important;
    border-radius: 50px;
    min-width: 180px;
    width: auto;
    padding: 8px 30px;
    text-transform: uppercase;
    font-weight: 900;
    font-size: 12px !important;
    display: inline-block;
    color: var(--primary-color, #666666) !important;
    line-height: 25px;
    height: auto;
    white-space: nowrap;
    border: none;
    box-shadow: inset 0 0 0 2px var(--primary-color, #666666);
}

.btn.btn-cta-outline:hover,
.btn-cta.btn-cta-outline:hover {
    background-color: var(--primary-color, #666666) !important;
    color: #FFFFFF !important;
    box-shadow: none;
}

/* Course Grid */
#cursos {
    padding: 60px 0;
}

#cursos h2 {
    margin: 50px 0;
    font-weight: 500;
    font-size: 24px;
    color: #666666;
}

.course-list {
    margin-bottom: 2rem;
}

.course-card {
    height: 100%;
    transition: var(--transition-normal);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.course-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.course-card .card-image {
    height: 200px;
    overflow: hidden;
    background-color: var(--bg-light);
}

.course-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-normal);
}

.course-card:hover .card-image img {
    transform: scale(1.05);
}

.course-subtitle {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.course-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.3;
    min-height: 2.6rem;
}

.courseDate {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 5px;
    line-height: 1.4;
}

.courseDate.first {
    margin-top: 10px;
}

.courseDate i {
    font-size: 11px;
    vertical-align: middle;
    margin-right: 3px;
    position: relative;
    top: -1px;
}

.course-actions {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition-fast);
    text-align: center;
}

.btn-action:hover {
    background-color: var(--primary-hover);
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition-fast);
}

.btn-shop:hover {
    background-color: var(--primary-hover);
}

.btn-shop-red {
    background-color: #f44336;
}

.btn-shop-red:hover {
    background-color: #d32f2f;
}

.btn-shop-blue {
    background-color: #2196f3;
}

.btn-shop-blue:hover {
    background-color: #1976d2;
}

.price-container {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}


.tachado {
    text-decoration: line-through;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

/* Responsive Adjustments */
@media only screen and (max-width: 600px) {
    .banner-mobile {
        display: block;
    }
    
    .hide-on-small-only {
        display: none !important;
    }
    
    .textB1 {
        font-size: 1.75rem;
    }
    
    .textB2 {
        font-size: 1.25rem;
    }
    
    .subscripcion form {
        flex-direction: column;
        width: 90%;
    }
    
    .subscripcion input[type="email"] {
        width: 100%;
    }
    
    #cursos h2 {
        font-size: 2rem;
    }
}

@media only screen and (min-width: 601px) {
    .show-on-small {
        display: none !important;
    }
}

@media only screen and (min-width: 993px) {
    .hide-on-med-and-down {
        display: inline !important;
    }
}

/* ============================================
   13. Tenant-Specific Navigation/Header Styles (YeiraCore Match)
   ============================================ */

/* Main Navigation - 80px height like YeiraCore */
.tenant .navbar-fixed {
    position: fixed;
    top: 0;
    z-index: 997;
    height: 80px;
}

.tenant .navbar-fixed nav {
    position: fixed;
    top: 0;
    width: 100%;
}

.tenant nav {
    background: #fff !important;
    position: relative;
    z-index: 997;
    box-shadow: none !important;
    height: 80px !important;
    line-height: 80px !important;
}

.tenant nav .nav-wrapper {
    height: 80px !important;
    position: relative;
}

/* Container width matching YeiraCore - wider for better edge alignment */
.tenant nav .nav-wrapper.container {
    width: 95%;
    max-width: none;
    margin: 0 auto;
    padding: 0 20px;
}

@media only screen and (min-width: 601px) {
    .tenant nav .nav-wrapper.container {
        width: 95%;
    }
}

@media only screen and (min-width: 993px) {
    .tenant nav .nav-wrapper.container {
        width: 95%;
        max-width: 1440px;
    }
}

.tenant nav .brand-logo {
    position: absolute;
    color: #333;
    display: inline-block;
    font-size: 2.1rem;
    padding: 0;
    line-height: 80px !important;
    height: 80px !important;
    left: 0;
    display: flex;
    align-items: center;
}

.tenant nav .brand-logo img {
    max-height: 60px;
    width: auto;
    vertical-align: middle;
}

.tenant nav ul {
    position: relative;
    height: 80px !important;
}

.tenant nav ul li {
    height: 80px !important;
}

.tenant nav ul a {
    padding: 0 14px;
    z-index: 99999;
    font-size: 16px;
    font-weight: 500;
    line-height: 80px !important;
    height: 80px !important;
    display: flex;
    align-items: center;
    color: var(--primary-color) !important;
    text-transform: none;
}

.tenant nav ul a:hover,
.tenant nav ul a:active {
    background: transparent !important;
    color: var(--primary-color) !important;
    opacity: 0.8;
}

/* Adjust banner position for 80px header */
.tenant .img-ban {
    margin-top: 0;
    position: relative;
    display: block;
}

/* Registration link style */
.tenant nav .suscribete-text {
    color: #666 !important;
    font-weight: 500;
}

.tenant nav .suscribete-text:hover {
    color: #c53e1a !important;
}

/* Navigation menu positioning */
.tenant .nav-menu-left {
    margin-left: 220px;
}

/* User dropdown styles */
.usr-menu {
    position: relative;
}

.tenant .dropdown-trigger,
.dropdown-trigger {
    display: flex !important;
    align-items: center;
    justify-content: flex-end !important; /* Right align contents */
    cursor: pointer;
    position: relative;
    background-color: transparent !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tenant .dropdown-trigger .user-avatar,
.dropdown-trigger .user-avatar {
    width: 33px;
    height: 33px;
    border-radius: 50%;
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
    flex-shrink: 0; /* Prevent avatar from shrinking */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), 
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-trigger:hover .user-avatar {
    transform: scale(1.05);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tenant .dropdown-trigger .dropdown-icon,
.dropdown-trigger .dropdown-icon {
    margin-left: 5px;
    vertical-align: middle;
    flex-shrink: 0; /* Prevent icon from shrinking */
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dropdown-trigger[aria-expanded="true"] .dropdown-icon {
    transform: rotate(180deg);
}

/* Only apply transparent background to nav dropdowns, not button dropdowns */
.dropdown-trigger[aria-expanded="true"]:not(.btn-rounded) {
    background-color: transparent !important;
}

/* Dropdown content fixes - Override Materialize defaults */
.dropdown-content {
    max-height: none !important;
    height: auto !important;
    overflow-y: auto !important;
    padding: 8px 0 !important;
    background-color: white !important;
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16), 0 2px 10px 0 rgba(0,0,0,0.12) !important;
}

#user-dropdown {
    min-width: 150px !important;
    max-height: 300px !important;
    height: auto !important;
    overflow-y: auto !important;
    padding: 8px 0 !important;
    background-color: white !important;
    border-radius: 2px !important;
}

#user-dropdown li {
    clear: both !important;
    color: rgba(0, 0, 0, 0.87) !important;
    cursor: pointer !important;
    min-height: 0 !important;
    height: auto !important;
    line-height: normal !important;
    width: 100% !important;
    text-align: left !important;
}

#user-dropdown li > a, 
#user-dropdown li a {
    color: var(--primary-color) !important;
    display: block !important;
    font-family: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    padding: 10px 16px !important;
    line-height: 20px !important;
    height: auto !important;
    min-height: 0 !important;
}

#user-dropdown li > a:hover,
#user-dropdown li a:hover {
    background-color: rgba(0,0,0,0.05) !important;
}

#user-dropdown li.divider {
    min-height: 0 !important;
    height: 1px !important;
    margin: 8px 0 !important;
    padding: 0 !important;
    background-color: rgba(0,0,0,0.12) !important;
}

/* Footer adjustments */
.tenant .page-footer.no-margin-top {
    margin-top: 0;
}

/* Mobile Navigation Styles */
@media only screen and (max-width: 992px) {
    .tenant nav .brand-logo {
        left: 50%;
        transform: translateX(-50%);
        position: absolute;
    }
    
    .tenant nav .brand-logo img {
        max-height: 50px;
    }
    
    .tenant .nav-menu-left {
        display: none !important;
    }
    
    .tenant nav .sidenav-trigger {
        position: absolute;
        left: 0;
        display: block;
        margin: 0;
        padding: 0 15px;
        color: #666;
    }
    
    .tenant nav .sidenav-trigger i {
        height: 80px;
        line-height: 80px;
        font-size: 28px;
    }
    
    .tenant nav .sidenav-trigger:hover {
        background-color: transparent;
    }
    
    .tenant nav .sidenav-trigger:hover i {
        color: var(--primary-color);
    }
}

@media only screen and (max-width: 600px) {
    .tenant nav {
        height: 64px !important;
        line-height: 64px !important;
    }
    
    .tenant nav .nav-wrapper {
        height: 64px !important;
    }
    
    .tenant .navbar-fixed {
        height: 64px;
    }
    
    .tenant nav .brand-logo {
        height: 64px !important;
        line-height: 64px !important;
    }
    
    .tenant nav .brand-logo img {
        max-height: 45px;
    }
    
    .tenant nav .sidenav-trigger i {
        height: 64px;
        line-height: 64px;
    }
    
    .tenant main {
        padding-top: 64px;
    }
}

/* Sidenav (Mobile Menu) Styles */
.tenant .sidenav {
    background: #fff;
    width: 280px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    padding-top: 78px; /* Space for close button + extra padding */
}

/* Close button in sidenav */
.tenant .sidenav .sidenav-close-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    min-height: 0;
    line-height: normal;
    z-index: 1;
}

.tenant .sidenav .sidenav-close-btn a {
    padding: 8px !important;
    height: auto !important;
    line-height: normal !important;
}

.tenant .sidenav .sidenav-close-btn i {
    color: #999;
    font-size: 24px;
}

.tenant .sidenav .sidenav-close-btn a:hover {
    background-color: transparent;
}

.tenant .sidenav .sidenav-close-btn a:hover i {
    color: #333;
}

.tenant .sidenav li > a {
    color: #666;
    font-size: 16px;
    font-weight: 400;
    height: 48px;
    line-height: 48px;
    padding: 0 32px;
}

.tenant .sidenav li > a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

/* Highlight Iniciar Sesión and Regístrate in mobile menu */
.tenant .sidenav li > a[href="/login"],
.tenant .sidenav li > a[href="/register"] {
    color: var(--primary-color);
    font-weight: 500;
}

.tenant .sidenav .user-view {
    padding: 16px 16px 0;
    background: #f5f5f5;
}

.tenant .sidenav .user-view img.circle {
    height: 64px;
    width: 64px;
    margin: 0 auto 8px;
    display: block;
}

.tenant .sidenav .user-view .name {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 16px;
    text-align: center;
    display: block;
}

.tenant .sidenav .divider {
    margin: 8px 0;
}

/* ============================================
   14. Tenant-Specific Banner Styles (YeiraCore Match)
   ============================================ */
   
/* Add padding to main content for fixed header */
.tenant main {
    padding-top: 80px;
}

.tenant .c-banner {
    position: relative;
    z-index: 0;
}

.tenant .img-ban,
.tenant #banner-primary {
    width: 100%;
    height: auto;
    display: block;
    vertical-align: top;
}

.tenant #banner-home {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    z-index: 10;
    width: 100%;
    text-align: center;
}

.tenant #banner-home h1,
.tenant .textB1 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-size: 36px;
    font-weight: 300;
    color: #fff;
}

.tenant #banner-home h2,
.tenant .textB2 {
    margin-top: 0;
    font-size: 21px;
    color: #fff;
    font-weight: 300;
}

.tenant #banner-home .subscripcion {
    margin-top: 40px;
    padding: 0;
    border: 1px solid #ccc;
    border-radius: 40px;
    background: #FFFFFF;
    padding-right: 3px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.tenant #banner-home form {
    clear: both;
    margin: 0;
}

.tenant #banner-home input {
    margin-right: 2%;
    margin-bottom: 0;
    padding: 0 6px;
    width: 65%;
    border: 0;
    display: inline-block;
    font-size: 1.2rem;
    text-align: left;
    color: #999;
    height: 45px;
    background: transparent;
}

.tenant #banner-home input:focus {
    border-bottom: 0;
    -webkit-box-shadow: 0 0px 0 0 #03a9f4;
    -moz-box-shadow: 0 0px 0 0 #03a9f4;
    box-shadow: 0 0px 0 0 #03a9f4;
}

.tenant #banner-home .subscripcion button {
    display: inline-block;
    background: #ee7045;
    color: #fff;
    font-weight: 600;
    border-radius: 200px;
    float: right;
    height: 39px !important;
    width: 139px;
    margin-top: 3px;
    border: none;
    text-transform: lowercase;
}

.tenant #banner-home .subscripcion button:hover {
    background: #c53e1a;
}

.tenant #banner-home .costo {
    font-size: 1.6rem;
    font-weight: 300;
    color: #c53e1a;
    margin-top: 1rem;
}

.tenant #banner-home .boton {
    display: none;
}

.tenant .btn-cta:not(.btn-cta-outline),
.tenant #banner-home .btn-cta:not(.btn-cta-outline) {
    display: inline-block;
    padding: 14px 40px;
    border: none;
    background: #666666;
    color: #fff !important;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
    cursor: pointer;
}

.tenant .btn-cta:not(.btn-cta-outline):hover,
.tenant #banner-home .btn-cta:not(.btn-cta-outline):hover {
    background: #666666;
    opacity: 0.85;
    color: #fff !important;
    border: none;
}

.tenant .btn.btn-cta-outline,
.tenant .btn-cta.btn-cta-outline {
    background-color: #FFFFFF !important;
    color: var(--primary-color, #666666) !important;
    border: none !important;
    box-shadow: inset 0 0 0 2px var(--primary-color, #666666) !important;
}

.tenant .btn.btn-cta-outline:hover,
.tenant .btn-cta.btn-cta-outline:hover {
    background-color: var(--primary-color, #666666) !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
}

/* Tenant Mobile Banner */
.tenant .banner-mobile {
    display: none;
}

.tenant #banner-home-m {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
}

.tenant #banner-home-m h1 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: #fff;
}

.tenant #banner-home-m h2 {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    color: #fff;
}

@media only screen and (max-width: 600px) {
    .tenant .banner-mobile {
        display: block !important;
    }
}

/* ============================================
   14. Custom Utility Classes for HTML Sections
   ============================================ */
.bg-white {
    background-color: #ffffff !important;
}

.p-custom-50 {
    padding: 50px !important;
}

.mt-custom-0 {
    margin-top: 0 !important;
}

.mt-custom-50 {
    margin-top: 50px !important;
}

.mb-custom-50 {
    margin-bottom: 50px !important;
}

.text-center {
    text-align: center !important;
}

.font-weight-bold {
    font-weight: bold !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

/* Custom section spacing */
.custom-section {
    padding: 60px 0;
}

.custom-section h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--text-primary);
}

.custom-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.custom-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

/* ============================================
   14. Footer Styles
   ============================================ */
footer.page-footer {
    margin-top: 0;
    padding: 30px 0;
    background-color: white !important;
    color: #666666 !important;
    border-top: 1px solid #e0e0e0;
}

footer.page-footer a {
    color: #666666 !important;
    font-size: 14px;
}

footer.page-footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}

footer.page-footer .brand-text {
    display: inline-block;
    margin-bottom: 20px;
}

footer.page-footer .brand-text:hover {
    text-decoration: none !important;
}

footer.page-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

footer.page-footer ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.subtitle-menu {
    margin-top: 15px;
    margin-bottom: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #333333;
}

.footer-redes {
    margin-top: 15px;
    margin-bottom: 20px;
}

.footer-redes ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    margin: 0;
}

.footer-redes li {
    display: inline-block;
    padding: 0 10px;
}

.footer-redes li:first-child {
    padding-left: 0;
}

.footer-redes li a {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-redes li a:hover {
    transform: translateY(-3px);
    text-decoration: none !important;
}

.footer-redes svg {
    width: 20px;
    height: 20px;
    fill: #666666;
    transition: fill 0.3s ease;
}

.footer-redes a:hover svg {
    fill: var(--primary-color);
}

/* Text center for small screens */
.text-sm-center {
    text-align: left;
}

@media only screen and (max-width: 600px) {
    .text-sm-center {
        text-align: center;
    }
    
    .footer-redes ul {
        justify-content: center;
    }
    
    footer.page-footer .col {
        margin-bottom: 30px;
    }
    
    .subtitle-menu {
        margin-top: 0;
    }
}

