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

:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --light-gray: #f9fafb;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 14px;
}

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

.btn-primary:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--border-color);
    color: var(--text-dark);
}

.btn-secondary:hover {
    background: #d1d5db;
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-warning {
    background: var(--warning-color);
    color: var(--white);
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

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

.stat-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

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

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.stat-info p {
    color: var(--text-light);
    font-size: 14px;
}

/* Projects Section */
.projects {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 30px;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.projects-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.search-filter {
    display: flex;
    gap: 15px;
    align-items: center;
}

.search-input, .filter-select {
    padding: 10px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.search-input:focus, .filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-input {
    width: 250px;
}

/* Projects Grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

.project-card {
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 25px;
    transition: var(--transition);
    background: var(--white);
}

.project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.project-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.project-info .client {
    color: var(--text-light);
    font-size: 14px;
}

.project-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-active {
    background: #dcfce7;
    color: #166534;
}

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

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

.project-meta {
    margin: 15px 0;
}

.project-meta p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 8px;
}

.project-meta .type {
    display: inline-block;
    background: var(--light-gray);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-dark);
}

.project-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.project-url {
    background: var(--light-gray);
    padding: 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    color: var(--text-light);
    margin: 10px 0;
    word-break: break-all;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    backdrop-filter: blur(4px);
    overflow-y: auto; /* Permitir scroll en el modal */
    padding: 20px 0; /* Padding para evitar que el contenido toque los bordes */
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh; /* Asegurar altura mínima */
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    max-height: calc(100vh - 40px); /* Altura máxima con margen */
    overflow-y: auto; /* Scroll interno si es necesario */
    box-shadow: var(--shadow-hover);
    margin: auto; /* Centrar verticalmente */
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.close-btn:hover {
    background: var(--light-gray);
    color: var(--text-dark);
}

.modal-body {
    padding: 30px;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-dark);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .projects-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .search-filter {
        flex-direction: column;
    }
    
    .search-input {
        width: 100%;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .modal-content {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header,
    .modal-body {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.project-card {
    animation: fadeIn 0.5s ease-out;
}

/* Loading State */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: var(--text-light);
}

.loading i {
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}/* Nuevo
s estilos para campos adicionales */
.form-help {
    display: block;
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 4px;
}

.radio-group {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
}

.radio-option input[type="radio"] {
    margin: 0;
    accent-color: var(--primary-color);
}

.file-upload {
    position: relative;
    display: block;
}

.file-upload input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-display {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    background: var(--light-gray);
    transition: var(--transition);
    cursor: pointer;
}

.file-upload-display:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.05);
}

.file-upload-display i {
    font-size: 1.25rem;
    color: var(--primary-color);
}

.file-upload-display span {
    color: var(--text-light);
    font-weight: 500;
}

.file-upload.has-file .file-upload-display {
    border-color: var(--success-color);
    background: rgba(16, 185, 129, 0.05);
}

.file-upload.has-file .file-upload-display i {
    color: var(--success-color);
}

.file-upload.has-file .file-upload-display span {
    color: var(--success-color);
}

/* Loading states */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Progress indicator */
.progress-indicator {
    display: none;
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 20px;
    box-shadow: var(--shadow);
}

.progress-indicator.show {
    display: block;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    position: relative;
}

.progress-step::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 50%;
    width: 100%;
    height: 2px;
    background: var(--border-color);
    z-index: -1;
}

.progress-step:last-child::after {
    display: none;
}

.progress-step.active::after {
    background: var(--primary-color);
}

.step-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.875rem;
}

.progress-step.active .step-icon {
    background: var(--primary-color);
}

.progress-step.completed .step-icon {
    background: var(--success-color);
}

.step-label {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
}

.progress-step.active .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

.progress-message {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

/* Kiro prompt display */
.kiro-prompt {
    background: var(--light-gray);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-top: 20px;
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    line-height: 1.5;
    white-space: pre-wrap;
    max-height: 300px;
    overflow-y: auto;
}

.kiro-prompt-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.kiro-prompt-title {
    font-weight: 600;
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
}

.copy-prompt-btn {
    padding: 6px 12px;
    font-size: 0.75rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
}

.copy-prompt-btn:hover {
    background: var(--secondary-color);
}/* 
Dual Input Field Styles */
.dual-input-field {
    position: relative;
    display: block;
}

.dual-input-field input[type="url"] {
    width: 100%;
    padding: 12px 15px;
    border: 2px dashed var(--border-color);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.dual-input-field input[type="url"]:focus {
    outline: none;
    border-color: var(--primary-color);
    border-style: solid;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.dual-input-field input[type="url"].has-file {
    border-color: var(--success-color);
    border-style: solid;
    background: rgba(16, 185, 129, 0.05);
}

.dual-input-overlay {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
    color: var(--text-light);
    font-size: 12px;
    opacity: 0.7;
}

.dual-input-overlay i {
    font-size: 14px;
    color: var(--primary-color);
}

.dual-input-field:hover input[type="url"] {
    border-color: var(--primary-color);
    border-style: solid;
}

.dual-input-field.drag-over input[type="url"] {
    border-color: var(--primary-color);
    border-style: solid;
    background: rgba(37, 99, 235, 0.05);
}

.dual-input-field.drag-over .dual-input-overlay {
    color: var(--primary-color);
    opacity: 1;
}
/
* Authentication Styles */
.auth-modal {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    overflow-y: auto; /* Permitir scroll */
    padding: 20px 0; /* Padding vertical */
}

.auth-modal-content {
    max-width: 400px;
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 40px); /* Altura máxima con margen */
    overflow-y: auto; /* Scroll interno */
    margin: auto; /* Centrar */
    position: relative;
}

.auth-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    padding: 30px;
    text-align: center;
}

.auth-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.auth-logo i {
    font-size: 2.5rem;
}

.auth-logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.auth-header p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.auth-form {
    padding: 30px;
}

.auth-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    margin-bottom: 20px;
    border-left: 4px solid #ef4444;
}

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

.auth-footer {
    background: var(--light-gray);
    padding: 20px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-light);
}

/* User Info Styles */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.user-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.user-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.user-role {
    font-size: 0.875rem;
    color: var(--text-light);
}

.account-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-select {
    padding: 8px 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    min-width: 200px;
}

.current-account {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

.header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* Responsive adjustments for auth */
@media (max-width: 768px) {
    .auth-modal-content {
        width: 95%;
        margin: 10px;
        max-height: calc(100vh - 20px); /* Menos margen en móvil */
    }
    
    .auth-modal {
        padding: 10px 0; /* Menos padding en móvil */
    }
    
    .modal-content {
        width: 95%;
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .modal {
        padding: 10px 0;
    }
    
    .user-info {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    
    .header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .account-select {
        min-width: auto;
        width: 100%;
    }
}

/* Loading state for buttons */
.btn.loading {
    position: relative;
    color: transparent;
    pointer-events: none;
}

.btn.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: var(--white);
}

/* Account selector loading state */
.account-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}/* Esti
los para proyectos sincronizados y warnings */
.project-card.needs-update {
    border-left: 4px solid var(--warning-color);
    background: rgba(245, 158, 11, 0.05);
}

.warning-banner {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--warning-color);
    border-radius: 6px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #92400e;
}

.warning-banner i {
    color: var(--warning-color);
    font-size: 16px;
}

.project-header h3 i {
    margin-left: 8px;
    color: var(--info-color, #3b82f6);
    font-size: 14px;
}

/* Botón info */
.btn-info {
    background: #3b82f6;
    color: var(--white);
    border: 1px solid #3b82f6;
}

.btn-info:hover {
    background: #2563eb;
    border-color: #2563eb;
}

/* Animación para sincronización */
.syncing .fas.fa-sync-alt {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}/* New Pas
sword Modal Styles */
.form-help {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 4px;
    line-height: 1.3;
}

#newPasswordModal .auth-logo i {
    color: var(--warning-color);
}

#newPasswordModal .auth-header {
    background: linear-gradient(135deg, var(--warning-color), #f59e0b);
}

/* Password strength indicator */
.password-strength {
    margin-top: 8px;
    font-size: 0.75rem;
}

.password-strength.weak {
    color: var(--danger-color);
}

.password-strength.medium {
    color: var(--warning-color);
}

.password-strength.strong {
    color: var(--success-color);
}/* Mo
dal responsive fixes */
#newPasswordModal .modal-content {
    max-height: 90vh;
    overflow-y: auto;
    margin: 20px;
}

/* Responsive modal fixes */
@media (max-height: 700px) {
    #newPasswordModal .auth-header {
        padding: 20px;
    }
    
    #newPasswordModal .auth-form {
        padding: 20px;
    }
    
    #newPasswordModal .auth-footer {
        padding: 15px;
    }
}/* 
Estilos adicionales para scroll en modales */
@media (max-height: 600px) {
    .auth-modal.active {
        align-items: flex-start; /* Alinear al inicio en pantallas bajas */
        padding-top: 20px;
    }
    
    .modal.active {
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .auth-header {
        padding: 20px; /* Reducir padding en pantallas bajas */
    }
    
    .auth-form {
        padding: 20px; /* Reducir padding */
    }
    
    .auth-footer {
        padding: 15px; /* Reducir padding */
    }
}

/* Asegurar que el body no tenga scroll cuando el modal esté abierto */
body.modal-open {
    overflow: hidden;
}

/* Pero permitir scroll en el modal */
.modal.active {
    overflow-y: auto;
}

.auth-modal.active {
    overflow-y: auto;
}/* Log
o Corporativo */
.logo-link {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.logo-link:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 50px;
    width: auto;
    transition: var(--transition);
}

.logo-link:hover .logo-img {
    filter: brightness(1.1);
}

.logo-text h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.logo-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 400;
}

/* Footer Corporativo */
.corporate-footer {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: #ffffff;
    margin-top: 60px;
    padding: 60px 0 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 40px;
    width: auto;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: #ffffff;
}

.footer-brand p {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin: 5px 0 0 0;
}

.footer-description {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 0.95rem;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #b0b0b0;
    margin-bottom: 12px;
    font-size: 0.95rem;
}

.contact-info i {
    color: var(--primary-color);
    width: 16px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #b0b0b0;
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
}

.footer-bottom-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom p {
    color: #b0b0b0;
    margin: 0;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .logo-link {
        justify-content: center;
    }
    
    .logo-text {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .corporate-footer {
        padding: 40px 0 0;
    }
    
    .footer-content {
        padding: 0 20px;
    }
    
    .footer-bottom-content {
        padding: 0 20px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}/* 
Project Card Logo Styles */
.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.project-title {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.project-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    padding: 4px;
    background: var(--white);
    flex-shrink: 0;
}

.project-title-text {
    flex: 1;
}

.project-title-text h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 2px;
}

.project-client {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.client-url {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.85rem;
}

.client-url:hover {
    text-decoration: underline;
}

/* Responsive adjustments for project cards */
@media (max-width: 480px) {
    .project-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .project-logo {
        width: 40px;
        height: 40px;
    }
}/* M
odal de Instrucciones */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-hover);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
    background: var(--light-gray);
}

.modal-header h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-light);
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger-color);
    color: var(--white);
}

.modal-body {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
}

.modal-body pre {
    background: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    overflow-x: auto;
    white-space: pre-wrap;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 14px;
    line-height: 1.5;
    color: var(--text-dark);
    margin: 0;
}

.modal-footer {
    padding: 20px 30px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    background: var(--light-gray);
}

/* Botón de metadatos */
.btn-info {
    background: #3b82f6;
    color: var(--white);
    border: 1px solid #3b82f6;
}

.btn-info:hover {
    background: #2563eb;
    border-color: #2563eb;
    transform: translateY(-1px);
}

/* Responsive para modal */
@media (max-width: 768px) {
    .modal-content {
        max-width: 95vw;
        margin: 10px;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 15px 20px;
    }
    
    .modal-body pre {
        font-size: 12px;
        padding: 15px;
    }
}
/*
 Enhanced Notification System */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    z-index: 10000;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #10b981, #059669);
}

.notification.error {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.notification.info {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.notification.warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* Enhanced Notification Bar */
.notification-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    color: white;
    padding: 12px 20px;
    z-index: 10001;
    transform: translateY(-100%);
    transition: transform 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.notification-bar.show {
    transform: translateY(0);
}

.notification-bar.success {
    background: linear-gradient(135deg, #059669, #10b981);
}

.notification-bar.error {
    background: linear-gradient(135deg, #dc2626, #ef4444);
}

.notification-bar.warning {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.notification-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}

.notification-bar-message {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.notification-bar-icon {
    font-size: 18px;
}

.notification-bar-text {
    font-weight: 500;
}

.notification-bar-details {
    font-size: 14px;
    opacity: 0.9;
    margin-top: 4px;
    max-width: 600px;
    word-wrap: break-word;
}

.notification-bar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.notification-bar-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.notification-bar-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.notification-bar-action {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.notification-bar-action:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Adjust main content when notification bar is shown */
body.notification-bar-active {
    padding-top: 60px;
}

body.notification-bar-active .header {
    top: 60px;
}

/* Notification details modal */
.notification-details-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.notification-details-modal.show {
    opacity: 1;
    visibility: visible;
}

.notification-details-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

.notification-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
}

.notification-details-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.notification-details-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #6b7280;
    padding: 4px;
}

.notification-details-close:hover {
    color: #374151;
}

.notification-details-body {
    color: #374151;
    line-height: 1.6;
}

.notification-details-code {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 12px;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 13px;
    margin: 12px 0;
    overflow-x: auto;
    white-space: pre-wrap;
}