/* Estilos completos para StarLight Café - Sistema de Bolsa de Trabajo */

/* Reset y base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f9fafb;
    color: #111827;
    line-height: 1.6;
}

/* Layout containers */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    background-color: #ffffff;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #e5e7eb;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: linear-gradient(135deg, #f27a2e, #c56a32);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.logo-text p {
    font-size: 0.875rem;
    color: #6b7280;
}

.nav-menu {
    display: none;
    gap: 2rem;
    align-items: center;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: #e35f1a;
}

.nav-link.active {
    color: #e35f1a;
    border-bottom: 2px solid #e35f1a;
}

.logout-btn {
    background: none;
    border: none;
    color: #ef4444;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.15s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logout-btn:hover {
    color: #dc2626;
}

/* Dashboard Section */
.dashboard-section {
    padding: 2rem 0;
}

.welcome-section {
    text-align: center;
    margin-bottom: 3rem;
}

.welcome-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.welcome-section p {
    color: #6b7280;
    font-size: 1.125rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, #f27a2e, #c56a32);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.25rem;
}

.stat-content p {
    color: #6b7280;
    font-size: 0.875rem;
}

/* Actions Section */
.actions-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}

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

.action-btn {
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    transition: all 0.15s ease;
    color: #374151;
}

.action-btn:hover {
    border-color: #e35f1a;
    color: #e35f1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.action-btn i {
    font-size: 1.5rem;
    color: #e35f1a;
}

.action-btn:hover i {
    color: #bc4817;
}

/* Vacancies Table */
.vacancies-section {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.table-container {
    overflow-x: auto;
}

.vacancies-table {
    width: 100%;
    border-collapse: collapse;
}

.vacancies-table th {
    background-color: #f9fafb;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: #374151;
    border-bottom: 1px solid #e5e7eb;
}

.vacancies-table td {
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
    color: #374151;
}

.vacancies-table tr:hover {
    background-color: #f9fafb;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
}

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

.status-badge.inactive {
    background-color: #fee2e2;
    color: #991b1b;
}

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

.status-badge.hidden {
    background-color: #f3e8ff;
    color: #7c3aed;
}

/* Hero Section - Reducir saturación */
.hero {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    color: #1e293b;
    padding: 2rem 0;
    text-align: center;
    border-bottom: 3px solid #e35f1a;
}

.hero h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1e293b;
}

@media (min-width: 768px) {
    .hero h2 {
        font-size: 2.5rem;
    }
}

.hero p {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: #475569;
}

@media (min-width: 768px) {
    .hero p {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.btn {
    padding: 0.75rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.15s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background-color: #e35f1a;
    color: white;
}

.btn-primary:hover {
    background-color: #bc4817;
}

.btn-secondary {
    border: 2px solid #64748b;
    color: #64748b;
    background: transparent;
}

.btn-secondary:hover {
    background-color: #64748b;
    color: white;
}

.btn-info {
    background-color: #0ea5e9;
    color: white;
}

.btn-info:hover {
    background-color: #0284c7;
}

.btn-danger {
    background-color: #ef4444;
    color: white;
}

.btn-danger:hover {
    background-color: #dc2626;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

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

/* Main Content - Two Panel Layout */
.main-content {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.vacancies-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .vacancies-layout {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

/* Left Panel - Vacancies List */
.vacancies-panel {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.panel-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
}

.panel-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.5rem;
}

.panel-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

.vacancy-count {
    font-weight: 600;
    color: #64748b;
}

/* Vacancies List */
.vacancies-list {
    max-height: 600px;
    overflow-y: auto;
}

.vacancy-item {
    padding: 1.5rem;
    border-bottom: 1px solid #f3f4f6;
    cursor: pointer;
    transition: all 0.15s ease;
}

.vacancy-item:hover {
    background-color: #f9fafb;
}

.vacancy-item.active {
    background-color: #fef7f0;
    border-left: 4px solid #e35f1a;
}

.vacancy-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.vacancy-item-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.vacancy-item-company {
    color: #64748b;
    font-size: 0.875rem;
    font-weight: 500;
}

.vacancy-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.vacancy-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.vacancy-meta-item i {
    color: #64748b;
    width: 1rem;
}

.vacancy-item-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.vacancy-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.vacancy-tag.category {
    background-color: #f1f5f9;
    color: #475569;
}

.vacancy-tag.type {
    background-color: #f8fafc;
    color: #64748b;
}

/* Right Panel - Vacancy Details */
.details-panel {
    background-color: white;
    border-radius: 0.75rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    min-height: 600px;
}

.no-selection {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 3rem;
    text-align: center;
    color: #64748b;
}

.no-selection-content i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.no-selection-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.no-selection-content p {
    color: #64748b;
}

.vacancy-details {
    padding: 2rem;
}

.vacancy-detail-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.vacancy-detail-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.vacancy-detail-company {
    color: #64748b;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.vacancy-detail-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vacancy-detail-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vacancy-detail-meta-item i {
    color: #64748b;
    width: 1.25rem;
}

.vacancy-detail-meta-content h4 {
    font-weight: 600;
    color: #374151;
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.vacancy-detail-meta-content p {
    color: #64748b;
    font-size: 0.875rem;
}

.vacancy-detail-section {
    margin-bottom: 2rem;
}

.vacancy-detail-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.vacancy-detail-section p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.vacancy-description {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.vacancy-description p {
    margin: 0 0 0.5rem 0;
}

.vacancy-description ul, .vacancy-description ol {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.vacancy-description li {
    margin: 0.25rem 0;
}

.vacancy-description strong, .vacancy-description b {
    font-weight: 600;
    color: #1e293b;
}

.vacancy-description em, .vacancy-description i {
    font-style: italic;
}

.vacancy-description u {
    text-decoration: underline;
}

.vacancy-description ul, .vacancy-description ol {
    margin: 0.75rem 0;
    padding-left: 2rem;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.vacancy-description li {
    margin: 0.5rem 0;
    max-width: 100%;
    overflow-wrap: break-word;
    word-wrap: break-word;
    padding-right: 0.5rem;
}

.vacancy-detail-cta {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    padding: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.vacancy-detail-cta h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.vacancy-detail-cta p {
    color: #64748b;
    margin-bottom: 1.5rem;
}

.vacancy-detail-cta .btn {
    min-width: 200px;
}

/* Mobile Modal */
.mobile-modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 50;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
}

.mobile-modal.show {
    display: flex;
}

.mobile-modal-content {
    background-color: white;
    border-radius: 1rem 1rem 0 0;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.mobile-modal-header {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
}

.mobile-modal-close {
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.15s ease;
    padding: 0.5rem;
}

.mobile-modal-close:hover {
    color: #6b7280;
}

.mobile-modal-body {
    padding: 1rem;
}

/* Login Section */
.login-section {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    padding: 2rem 0;
}

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

.login-card {
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 2rem;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-icon {
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, #f27a2e, #c56a32);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
    font-size: 1.5rem;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #6b7280;
    font-size: 0.875rem;
}

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

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

.form-group label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #9ca3af;
    width: 1rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.15s ease;
    background-color: #f9fafb;
}

.form-group input:focus {
    outline: none;
    border-color: #e35f1a;
    box-shadow: 0 0 0 3px rgba(227, 95, 26, 0.1);
    background-color: white;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    transition: color 0.15s ease;
}

.password-toggle:hover {
    color: #6b7280;
}

.login-footer {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.login-footer p {
    color: #6b7280;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.back-link {
    color: #e35f1a;
    text-decoration: none;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.15s ease;
}

.back-link:hover {
    color: #bc4817;
}

/* Spinner */
.spinner-small {
    width: 1rem;
    height: 1rem;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.toast {
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 1rem 1.5rem;
    min-width: 300px;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left-color: #10b981;
}

.toast.error {
    border-left-color: #ef4444;
}

.toast.warning {
    border-left-color: #f59e0b;
}

.toast.info {
    border-left-color: #3b82f6;
}

.toast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.toast-title {
    font-weight: 600;
    font-size: 0.875rem;
}

.toast-close {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 0.25rem;
    font-size: 1rem;
}

.toast-message {
    color: #6b7280;
    font-size: 0.875rem;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 3rem 0;
}

.loading-spinner {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #64748b;
}

.spinner {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    animation: spin 1s linear infinite;
}

/* No Results State - Colores más neutros */
.no-results {
    text-align: center;
    padding: 3rem 0;
    color: #64748b;
}

.no-results i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #64748b;
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1e293b;
}

.no-results p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    color: #64748b;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.15s ease;
}

.social-link.facebook {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.social-link.facebook:hover {
    background-color: #e2e8f0;
    color: #1e293b;
    transform: translateY(-2px);
}

.social-link.instagram {
    background-color: #f1f5f9;
    color: #475569;
    border: 1px solid #e2e8f0;
}

.social-link.instagram:hover {
    background-color: #e2e8f0;
    color: #1e293b;
    transform: translateY(-2px);
}

.social-note {
    font-size: 0.875rem;
    color: #94a3b8;
    font-style: italic;
}

/* Footer */
.footer {
    background-color: #1e293b;
    color: white;
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-section {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .footer-section:first-child {
        grid-column: span 2;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-logo p {
    color: #94a3b8;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-section p,
.footer-section a {
    color: #94a3b8;
    margin-bottom: 0.5rem;
    display: block;
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-section a:hover {
    color: white;
}

/* Separar iconos del texto en el footer */
.footer-section p i,
.footer-section a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.footer-divider {
    border-top: 1px solid #334155;
    margin-top: 2rem;
    padding-top: 2rem;
    text-align: center;
    color: #94a3b8;
}

/* Modal */
.modal {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 50;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 0.75rem;
    max-width: 50rem;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.15s ease;
    padding: 0.5rem;
}

.modal-close:hover {
    color: #6b7280;
}

.modal-body {
    padding: 1.5rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.modal-form label {
    display: block;
    font-weight: 500;
    color: #374151;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.modal-form input,
.modal-form select,
.modal-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.15s ease;
    background-color: #f9fafb;
    font-family: inherit;
}

.modal-form input:focus,
.modal-form select:focus,
.modal-form textarea:focus {
    outline: none;
    border-color: #e35f1a;
    box-shadow: 0 0 0 3px rgba(227, 95, 26, 0.1);
    background-color: white;
}

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

.form-info {
    background-color: #fef7f0;
    border: 1px solid #fdecd8;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-info p {
    color: #bc4817;
    font-size: 0.875rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-info i {
    color: #e35f1a;
}

.modal-footer {
    padding: 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.text-muted {
    color: #9ca3af;
}

.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }

.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }

.mr-2 { margin-right: 0.5rem; }
.ml-2 { margin-left: 0.5rem; }

/* Responsive utilities */
@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero h2 {
        font-size: 1.875rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .login-card {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .modal-content {
        margin: 1rem;
        max-height: calc(100vh - 2rem);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .vacancies-layout {
        gap: 1rem;
    }
    
    .details-panel {
        display: none;
    }
    
    .mobile-modal.show {
        display: flex;
    }
}

@media (min-width: 1024px) {
    .mobile-modal {
        display: none !important;
    }
}

/* Botón de WhatsApp */
.btn-primary[onclick*="openWhatsApp"] {
    background-color: #25d366;
    border-color: #25d366;
}

.btn-primary[onclick*="openWhatsApp"]:hover {
    background-color: #128c7e;
    border-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.btn-primary[onclick*="openWhatsApp"] i {
    margin-right: 8px;
}

/* Estilos para la paginación */
.pagination-container {
    margin-top: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #e5e7eb;
}

.pagination-info {
    text-align: center;
    margin-bottom: 1rem;
    color: #6b7280;
    font-size: 0.875rem;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination-btn {
    padding: 0.5rem 0.75rem;
    border: 1px solid #d1d5db;
    background-color: #ffffff;
    color: #374151;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 2.5rem;
    text-align: center;
}

.pagination-btn:hover {
    background-color: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
}

.pagination-btn.active {
    background-color: #f59e0b;
    border-color: #f59e0b;
    color: #ffffff;
}

.pagination-btn.active:hover {
    background-color: #d97706;
    border-color: #d97706;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn:disabled:hover {
    background-color: #ffffff;
    border-color: #d1d5db;
    color: #374151;
}

/* Estilos para la columna de números de orden */
.vacancies-table th:first-child,
.vacancies-table td:first-child {
    width: 60px;
    text-align: center;
    font-weight: 600;
    color: #f59e0b;
}

.vacancies-table td:first-child strong {
    background-color: #fef3c7;
    color: #92400e;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    display: inline-block;
    min-width: 2rem;
}

/* Estilos para el contador de vacantes */
.vacancies-count {
    color: #f59e0b;
    font-weight: 600;
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

/* Responsive para paginación */
@media (max-width: 640px) {
    .pagination-controls {
        gap: 0.25rem;
    }
    
    .pagination-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.75rem;
        min-width: 2rem;
    }
    
    .pagination-info {
        font-size: 0.75rem;
    }
    
    .vacancies-table th:first-child,
    .vacancies-table td:first-child {
        width: 50px;
    }
    
    .vacancies-table td:first-child strong {
        font-size: 0.75rem;
        padding: 0.125rem 0.375rem;
        min-width: 1.5rem;
    }
}
