
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
}

.alert-success {
    color: #059669;
    background-color: #ecfdf5;
    border: 1px solid #a7f3d0;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.alert-info {
    color: #0369a1;
    background-color: #f0f9ff;
    border: 1px solid #bae6fd;
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
    text-align: center;
}



/* Dashboard Container */
        .dashboard-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 1rem;
            width: 100%;
        }

        /* Welcome Section */
        .welcome-section {
            background: var(--white);
            border-radius: 12px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border: 1px solid var(--graylight);
            display: flex;
            align-items: center;
            gap: 1.5rem;
        }

        .user-avatar {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: var(--primary);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-size: 2rem;
            font-weight: bold;
        }

        .welcome-text h1 {
            color: #1e293b;
            margin-bottom: 0.5rem;
            font-size: 1.8rem;
        }

        .welcome-text p {
            color: #64748b;
        }

        /* Dashboard Grid */
        .dashboard-grid {
            display: grid;
            grid-template-columns: 280px 1fr;
            gap: 1.5rem;
        }

        /* Sidebar Menu */
        .sidebar-menu {
            background: var(--white);
            border-radius: 12px;
            padding: 1.5rem;
            border: 1px solid var(--graylight);
            height: fit-content;
        }

        .menu-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
        }

        .menu-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 1rem;
            border-radius: 8px;
            text-decoration: none;
            color: var(--black);
            transition: all 0.2s;
            border: none;
            background: none;
            width: 100%;
            text-align: left;
            cursor: pointer;
            font-size: 16px;
        }

        .menu-item i {
            color: var(--primary);
            width: 20px;
            text-align: center;
        }

        .menu-item:hover {
            background: #f1f5f9;
            color: var(--primary);
        }

        .menu-item.active {
            background: var(--primary);
            color: var(--white);
        }

        .menu-item.active i {
            color: var(--white);
        }

        /* Mobile Menu Toggle */
        .mobile-menu-toggle {
            display: none;
            background: var(--primary);
            color: white;
            border: none;
            padding: 1rem;
            border-radius: 8px;
            font-weight: 600;
            width: 100%;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
            cursor: pointer;
        }

        /* Main Content */
        .main-content {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .flexTitleGen {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .subtitleGen {
            color: #1e293b;
            font-size: 1.5rem;
        }


        /* Payments Table */
        .payments-section {
            background: var(--white);
            border-radius: 12px;
            padding: 1.5rem;
            border: 1px solid var(--graylight);
            overflow: hidden;
        }

        .payments-table {
            width: 100%;
            border-collapse: collapse;
            min-width: 600px;
        }

        .payments-table th {
            background: #f8fafc;
            padding: 1rem;
            text-align: left;
            font-weight: 600;
            color: #475569;
            border-bottom: 2px solid #e2e8f0;
        }

        .payments-table td {
            padding: 1rem;
            border-bottom: 1px solid #e2e8f0;
            color: #475569;
        }

        .payments-table tr:hover {
            background: #f8fafc;
        }

        .course-name {
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 0.5rem;
        }

        .course-category {
            background: #f1f5f9;
            padding: 0.25rem 0.75rem;
            border-radius: 6px;
            font-size: 0.75rem;
            color: #475569;
            display: inline-block;
        }

        .payment-amount {
            font-weight: 600;
            color: #1e293b;
            font-size: 1rem;
        }

        .payment-date {
            color: #64748b;
            font-size: 0.875rem;
        }

        .status-badge {
            padding: 0.5rem 1rem;
            border-radius: 6px;
            font-size: 0.875rem;
            font-weight: 500;
            display: inline-block;
        }

        .status-approved {
            background: #d1fae5;
            color: #065f46;
        }

        .status-pending {
            background: #fef3c7;
            color: #92400e;
        }

        .status-rejected {
            background: #fee2e2;
            color: #dc2626;
        }

        /* Support Message */
        .support-message {
            background: #f0f9ff;
            border: 1px solid #bae6fd;
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 2rem;
            text-align: center;
        }

        .support-message h4 {
            color: #0369a1;
            margin-bottom: 0.5rem;
        }

        .support-message p {
            color: #475569;
            margin-bottom: 1rem;
        }

        .support-contacts {
            display: flex;
            justify-content: center;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .support-contact {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1rem;
            background: var(--white);
            border-radius: 6px;
            text-decoration: none;
            color: #0369a1;
            border: 1px solid #e2e8f0;
            transition: all 0.2s;
        }

        .support-contact:hover {
            border-color: #0369a1;
            color: #0369a1;
        }

        .contact-icon {
            color: #0369a1;
        }

        /* Table Container for Mobile */
        .table-container {
            overflow-x: auto;
            border-radius: 8px;
        }

        /* Comment Form Section */
.comment-form-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--graylight);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--black);
    font-size: 0.95rem;
}

.form-select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--graylight);
    border-radius: 6px;
    background: var(--white);
    font-size: 1rem;
    color: var(--black);
    transition: border-color 0.2s;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
}

.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--graylight);
    border-radius: 6px;
    background: var(--white);
    font-size: 1rem;
    color: var(--black);
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    transition: border-color 0.2s;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--primary);
}

.checkbox-label {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.4;
}

/* Comments Section */
.comments-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--graylight);
    overflow: hidden;
}

.comments-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.comments-table th {
    background: #f8fafc;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
}

.comments-table td {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    color: #475569;
}

.comments-table tr:hover {
    background: #f8fafc;
}

.comment-text {
    color: #475569;
    line-height: 1.5;
    max-width: 400px;
}

.comment-date {
    color: #64748b;
    font-size: 0.875rem;
}

.comment-id {
    color: #64748b;
    font-size: 0.75rem;
    margin-top: 0.5rem;
}

/* Status badges específicos para comentarios */
.status-published {
    background: #d1fae5;
    color: #065f46;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-rejected {
    background: #fee2e2;
    color: #dc2626;
}


/* Profile Header */
.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

/* Profile Content */
.profile-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
}

/* Profile Form Section */
.profile-form-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--graylight);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--black);
    font-size: 0.95rem;
}

.required {
    color: #dc2626;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--graylight);
    border-radius: 6px;
    background: var(--white);
    font-size: 1rem;
    color: var(--black);
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Password Toggle */
.password-toggle {
    position: relative;
}

.password-toggle .form-input {
    padding-right: 2.5rem;
}

.toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s;
}

.toggle-password:hover {
    color: var(--primary);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

/* Profile Preview Section */
.profile-preview-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--graylight);
    height: fit-content;
}

.preview-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--graylight);
}

.preview-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 3rem;
    font-weight: bold;
    margin: 0 auto 1rem;
    border: 4px solid var(--graylight);
}


.user-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius:50%;
    border: 4px solid var(--graylight);
}

.preview-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.25rem;
}

.preview-email {
    color: #64748b;
    font-size: 0.875rem;
}

.preview-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.preview-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 6px;
    transition: background 0.2s;
}

.preview-item:hover {
    background: #f1f5f9;
}

.preview-icon {
    width: 20px;
    color: #64748b;
    font-size: 1rem;
}

.preview-info h4 {
    font-size: 0.875rem;
    color: #64748b;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.preview-info p {
    font-size: 0.875rem;
    color: var(--black);
    font-weight: 600;
}

/* Photo Upload */
.photo-upload {
    text-align: start;
    padding: 1rem 0;
    border-top: 1px solid var(--graylight);
    border-bottom: 1px solid var(--graylight);
    margin: 1.5rem 0;
}

.upload-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f1f5f9;
    color: #475569;
    padding: 0.75rem 1.5rem;
    border: 1px dashed #d1d5db;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
    font-weight: 500;
}

.upload-btn:hover {
    background: #e2e8f0;
    border-color: var(--primary);
    color: var(--primary);
}

.upload-note {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 0.5rem;
}



.login-container {
    width: 100%;
    max-width:500px;
    margin: 0 auto;
}

/* Tarjeta de login */
.login-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    border: 1px solid var(--graylight);
}

/* Encabezado de la tarjeta */
.login-header-card {
    text-align: center;
    margin-bottom: 2rem;
}

.login-title {
    color: var(--primary);
    font-size:30px !important;
    font-weight: 700;
    text-align:left;
    margin-bottom: 0.5rem;
}

.login-subtitle {
    color: #64748b;
    font-size: 1rem;
    text-align:left;
}

.login-register-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.login-register-link:hover {
    color: var(--primaryhover);
    text-decoration: underline;
}

/* Formulario */
.login-form {
    margin-bottom: 1.5rem;
}

.form-group-login {
    margin-bottom: 1.5rem;
}

.form-label-login {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--black);
    font-size: 0.95rem;
}

.input-group-login {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    color: #64748b;
    font-size: 1rem;
    z-index: 2;
}

.form-input-login {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 2px solid var(--graylight);
    border-radius: 8px;
    background: var(--white);
    font-size: 1rem;
    color: var(--black);
    transition: all 0.2s;
}

.form-input-login:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Botón de toggle de contraseña */
.password-toggle-btn {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.2s;
}

.password-toggle-btn:hover {
    color: var(--primary);
}

/* Opciones del login */
.login-options {
    text-align: right;
    margin-bottom: 1.5rem;
}

.forgot-password-link {
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.forgot-password-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* Botón de envío */
.login-submit-btn {
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.login-submit-btn:hover {
    background-color: var(--primaryhover);
    transform: translateY(-1px);
}

/* Formulario de registro */
.register-form {
    margin-bottom: 0;
}

/* Grupos de checkbox para registro */
.checkbox-group-register {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.checkbox-group-register input[type="checkbox"] {
    margin-top: 0.25rem;
    accent-color: var(--primary);
    transform: scale(1.1);
}

.checkbox-label-register {
    font-size: 0.9rem;
    color: var(--black);
    line-height: 1.4;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.2s;
}

.checkbox-label-register:hover {
    color: var(--primary);
}

/* Separador del registro */
.register-separator {
    position: relative;
    margin: 1.5rem 0;
}

.register-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--graylight) 50%, transparent 100%);
}

/* Botón de registro específico */
.register-submit-btn {
    margin-top: 1rem;
}

/* Validación de contraseñas */
.password-match {
    border-color: #10b981 !important;
}

.password-mismatch {
    border-color: #dc2626 !important;
}

.password-strength {
    margin-top: 0.5rem;
    font-size: 0.8rem;
}

.password-strength.weak {
    color: #dc2626;
}

.password-strength.medium {
    color: #d97706;
}

.password-strength.strong {
    color: #059669;
}

/* Indicador de campos */
.field-hint {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
}




/* Courses Section */
.courses-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--graylight);
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

/* Course Card */
.course-cardContainer {
    border: 1px solid var(--graylight);
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    background: var(--white);
    overflow:hidden;
    max-width:494px;
}

.certificatePriceFlex{
    display:flex;
    justify-content:end;
    align-items:center;
    margin-bottom:20px;
    gap:5px;
}

.certificatePriceFlex p{
    color:var(--gray);
    font-size:14px;
}
.certificatePriceFlex span{
    color:#CC0404;
    font-size:18px;
    font-weight:600;
}

.separatorLine{
    margin:40px 0px;
    margin-bottom:30px;
    width:100%;
    height:1px;
    background-color:var(--graylight);
}

.alertBlue{
    background-color: #DBEAFE;
    color:var(--black);
    padding:15px;
    border-radius:10px;
    margin-bottom:30px;
}

       .categorySle{
            position:absolute;
            top:0;right:0;
            background-color:var(--primary);
            color:var(--white);
            padding:4px 20px;
            font-size:18px;
            font-weight:500;
            border-bottom-left-radius:10px;
            border-top-right-radius:9px;
       }

        .product-image-container{
            height: auto;
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
            background: #fbfbfb;
        }

         .product-image {
            width: 100%;
            height: auto;
        }

.course-cardContainer:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
}

.course-card {
    padding: 1.5rem;
}


.course-header {
    display: flex;
    justify-content: space-between;
    align-items:center;
    margin: 1rem 0px;
    gap: 1rem;
}

.course-title {
    font-weight: 600;
    color: var(--black);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    line-height: 1.3;
}

.course-category {
    background: #f1f5f9;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #475569;
    display: inline-block;
}

.course-status {
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.status-active {
    background: #d1fae5;
    color: #065f46;
}

.status-completed {
    background: #dbeafe;
    color: #1e40af;
}

.status-upcoming {
    background: #fef3c7;
    color: #92400e;
}

.status-free {
    background: #f0f9ff;
    color: #0369a1;
}

.course-description {
    color: var(--gray);
    margin-bottom: 1rem;
    line-height: 1.5;
    font-size: 14px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding:10px 0px;
}


/* Progress Bar */
.progress-bar {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    margin: 1rem 0;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background:#10B981;
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 1rem;
    text-align: left;
}

/* Course Actions */
.course-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.btn-success {
    background: #10b981;
    color: white;
    border: none;
}

.btn-success:hover {
    background: #059669;
    transform: translateY(-1px);
}

/* No Courses Message */
.no-courses-message {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    padding: 3rem;
    text-align: center;
    grid-column: 1 / -1;
}

.no-courses-message i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.no-courses-message h3 {
    color: var(--black);
    margin-bottom: 0.5rem;
}

.no-courses-message p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.btn-explore {
    background: var(--primary);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.btn-explore:hover {
    background: var(--primaryhover);
    transform: translateY(-1px);
}










        /* Responsive */
        @media (max-width: 1024px) {
.courses-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

             .profile-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .profile-form-section,
    .profile-preview-section {
        padding: 1.5rem;
    }

            .comment-form-section,
    .comments-section {
        padding: 1rem;
    }

    .comments-table {
        font-size: 0.9rem;
    }

    .comments-table th,
    .comments-table td {
        padding: 0.75rem 0.5rem;
    }

   .comment-text {
        max-width: 300px;
    }

            .dashboard-container {
                padding: 1rem;
            }

            .dashboard-grid {
                grid-template-columns: 1fr;
                gap: 1rem;
            }

            .welcome-section {
                flex-direction: column;
                text-align: center;
                padding: 1.5rem 1rem;
            }

            .user-avatar {
                width: 70px;
                height: 70px;
                font-size: 1.5rem;
            }

            .welcome-text h1 {
                font-size: 1.5rem;
            }

            .mobile-menu-toggle {
                display: flex;
            }

            .sidebar-menu {
                display: none;
                margin-bottom: 1rem;
            }

            .sidebar-menu.active {
                display: block;
            }

            .payments-table {
                font-size: 0.9rem;
            }

            .payments-table th,
            .payments-table td {
                padding: 0.75rem 0.5rem;
            }
        }






        @media (max-width: 768px) {

    .courses-grid {
        grid-template-columns: 1fr;
    }


    .course-status {
        align-self: flex-start;
    }


    .course-actions {
        flex-direction: column;
    }

    .btn-small {
        width: 100%;
    }

             .checkbox-group-register {
        align-items: flex-start;
    }

    .checkbox-label-register {
        font-size: 0.85rem;
    }

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

              .profile-content {
        grid-template-columns: 1fr;
    }

    .profile-form-section,
    .profile-preview-section {
        padding: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btnGenTwo {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .preview-avatar {
        width: 100px;
        height: 100px;
        font-size: 2rem;
    }

             .comment-form-section,
    .comments-section {
        padding: 1rem;
    }

    .form-group {
        margin-bottom: 1rem;
    }

    .checkbox-group {
        align-items: flex-start;
    }

    .comment-text {
        max-width: 250px;
    }
}

@media (max-width: 480px) {


    .course-description {
        font-size:12px;
    }

    .course-card {
        padding: 1rem;
    }

     .checkbox-group-register {
        gap: 0.5rem;
    }

      .login-card {
        padding: 1.5rem 1rem;
    }

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

    .form-input-login {
        padding: 0.75rem 1rem 0.75rem 2.5rem;
    }

     .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .upload-btn {
        width: 100%;
        justify-content: center;
    }

    .preview-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .preview-icon {
        font-size: 1.25rem;
    }


    .comment-text {
        max-width: 200px;
    }

    .form-textarea {
        min-height: 100px;
    }


            .dashboard-grid{
                display:block;
            }
            .dashboard-container {
                padding: 0.5rem;
            }

            .welcome-section {
                padding: 1rem;
                margin-bottom: 1rem;
            }

            .user-avatar {
                width: 60px;
                height: 60px;
                font-size: 1.2rem;
            }

            .welcome-text h1 {
                font-size: 1.3rem;
            }

            .payments-section {
                padding: 1rem;
            }

            .flexTitleGen {
                flex-direction: column;
                align-items: flex-start;
            }

            .subtitleGen {
                font-size: 1.3rem;
            }

            .btnGenTwo {
                width: 100%;
                text-align: center;
            }

            .support-contacts {
                flex-direction: column;
            }

            .support-contact {
                justify-content: center;
            }
        }



@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estados de validación */
.form-input-login:invalid:not(:focus):not(:placeholder-shown) {
    border-color: #dc2626;
}

.form-input-login:valid:not(:focus):not(:placeholder-shown) {
    border-color: #10b981;
}
