/* TimeTracker Pro Project Specific Styles */
/* Importar estilos base del CV */
@import url('../../styles.css');

/* Project color scheme */
:root {
    --timetracker-primary: #6c5ce7;
    --timetracker-secondary: #00cec9;
    --timetracker-accent: #fd79a8;
    --timetracker-dark: #2d3436;
    --timetracker-light: #ddd6fe;
    --timetracker-success: #00b894;
    --timetracker-warning: #fdcb6e;
    --timetracker-error: #e17055;
    --timetracker-blue: #0984e3;
    --timetracker-green: #00b894;
    --timetracker-orange: #e17055;
    --timetracker-purple: #a29bfe;
}

/* General section styles (removed - using base CSS) */
/* Hero section enhancements */
.hero {
    background: linear-gradient(135deg, var(--timetracker-primary), var(--timetracker-secondary));
    color: white;
}

.hero .hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.hero .hero-description {
    color: rgba(255, 255, 255, 0.8);
}

.hero .gradient-text {
    background: linear-gradient(135deg, #ffffff, rgba(255, 255, 255, 0.8));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Features section */
.features {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Technology section */
.technology {
    padding: 100px 0;
}

/* Demo section */
.demo {
    padding: 100px 0;
    background: var(--bg-secondary);
}

/* Details section */
.details {
    padding: 100px 0;
}

/* TimeTracker Modern Showcase */
.timetracker-showcase {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    min-height: 500px;
}

.showcase-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    width: 100%;
}

/* Feature Highlights */
.feature-highlights {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.highlight-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
}

.highlight-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    margin: 0 0 0.5rem 0;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.highlight-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Demo Preview Window */
.demo-preview {
    position: relative;
}

.preview-window {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: perspective(1000px) rotateY(5deg) rotateX(-2deg);
    transition: all 0.3s ease;
}

.preview-window:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.window-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.control-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control-dot.red { background: #ff5f56; }
.control-dot.yellow { background: #ffbd2e; }
.control-dot.green { background: #27ca3f; }

.window-title {
    font-size: 0.9rem;
    font-weight: 500;
}

.window-content {
    padding: 25px;
    background: #f8f9ff;
}

.dashboard-mockup {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mockup-header {
    background: #667eea;
    color: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
}

.time-display {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    opacity: 0.9;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #e9ecef;
}

.stat-item {
    background: white;
    padding: 20px 15px;
    text-align: center;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-preview {
    padding: 25px;
    background: white;
}

.chart-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #495057;
    margin-bottom: 20px;
}

.chart-bars {
    display: flex;
    align-items: end;
    gap: 6px;
    height: 80px;
    padding: 0 10px;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, #667eea 0%, #764ba2 100%);
    border-radius: 3px 3px 0 0;
    min-height: 20%;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.bar:hover {
    opacity: 1;
}

.timer-controls {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.timer-btn {
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.timer-btn.stop {
    background: var(--timetracker-error);
    color: white;
}

.timer-btn.pause {
    background: var(--timetracker-warning);
    color: white;
}

.timer-btn:hover {
    transform: scale(1.1);
}

.quick-start h5 {
    margin-bottom: 15px;
    color: var(--timetracker-dark);
}

.project-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.project-btn {
    flex: 1;
    min-width: 100px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.project-btn:hover {
    border-color: var(--timetracker-primary);
    background: #f0f0f0;
}

.project-btn i {
    display: block;
    margin-bottom: 5px;
    color: var(--timetracker-primary);
}

.project-btn span {
    font-size: 0.8em;
    color: #666;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--timetracker-primary), var(--timetracker-secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--timetracker-dark);
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* Technology Stack */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.tech-category {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.tech-category h3 {
    color: var(--timetracker-dark);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.tech-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateX(5px);
    background: #e9ecef;
}

.tech-item i {
    font-size: 2rem;
    min-width: 40px;
}

.tech-info h4 {
    color: var(--timetracker-dark);
    margin-bottom: 0.5rem;
}

.tech-info p {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Demo Section */
.demo-container {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-tabs {
    display: flex;
    background: white;
    border-radius: 12px 12px 0 0;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.demo-tab {
    flex: 1;
    padding: 1rem 2rem;
    border: none;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #666;
}

.demo-tab:hover {
    background: #e9ecef;
}

.demo-tab.active {
    background: var(--timetracker-primary);
    color: white;
}

.demo-content {
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 600px;
}

.demo-panel {
    display: none;
    padding: 2rem;
}

.demo-panel.active {
    display: block;
}

.demo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f0f0f0;
}

.demo-header h3 {
    color: var(--timetracker-dark);
    margin: 0;
}

.current-date {
    color: #666;
    font-size: 0.9rem;
}

/* Employee Demo */
.employee-demo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.timer-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
}

.active-timer {
    text-align: center;
}

.timer-info h4 {
    color: var(--timetracker-dark);
    margin-bottom: 1rem;
}

.timer-display-large {
    font-size: 3rem;
    font-weight: bold;
    color: var(--timetracker-primary);
    margin: 1rem 0;
    font-family: 'Courier New', monospace;
}

.timer-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn-timer {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-timer.start {
    background: var(--timetracker-success);
    color: white;
}

.btn-timer.pause {
    background: var(--timetracker-warning);
    color: white;
}

.btn-timer.stop {
    background: var(--timetracker-error);
    color: white;
}

.btn-timer:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-timer:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.today-summary {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.today-summary h4 {
    color: var(--timetracker-dark);
    margin-bottom: 1.5rem;
}

.time-entries {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.time-entry {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.entry-project {
    font-weight: 600;
    color: var(--timetracker-dark);
}

.entry-time {
    color: #666;
    font-size: 0.9rem;
}

.entry-duration {
    font-weight: 600;
    color: var(--timetracker-primary);
}

.total-today {
    text-align: right;
    font-size: 1.1rem;
    color: var(--timetracker-dark);
    border-top: 2px solid #e9ecef;
    padding-top: 1rem;
}

/* Manager Demo */
.manager-demo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.filter-controls select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

.manager-stats {
    margin-bottom: 2rem;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.stat-box {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-box .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: bold;
    color: var(--timetracker-primary);
    margin-bottom: 0.5rem;
}

.stat-desc {
    color: #666;
    font-size: 0.9rem;
}

.employee-table {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
}

.employee-table h4 {
    padding: 1.5rem;
    margin: 0;
    background: #f8f9fa;
    color: var(--timetracker-dark);
}

.employee-table table {
    width: 100%;
    border-collapse: collapse;
}

.employee-table th,
.employee-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.employee-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--timetracker-dark);
}

.status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status.active {
    background: #d4edda;
    color: #155724;
}

.status.offline {
    background: #f8d7da;
    color: #721c24;
}

.status.break {
    background: #fff3cd;
    color: #856404;
}

/* Reports Demo */
.reports-demo {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.report-options {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.report-type h4,
.report-filters h4 {
    margin-bottom: 1rem;
    color: var(--timetracker-dark);
}

.report-type label {
    display: block;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.report-type input[type="radio"] {
    margin-right: 0.5rem;
}

.filter-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-row select,
.filter-row input {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: white;
}

.report-preview {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #e9ecef;
}

.report-preview h4 {
    margin-bottom: 1.5rem;
    color: var(--timetracker-dark);
}

.preview-content {
    background: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.preview-header {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.preview-header h5 {
    margin: 0 0 0.5rem 0;
    color: var(--timetracker-dark);
}

.preview-header p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.preview-data table {
    width: 100%;
    border-collapse: collapse;
}

.preview-data th,
.preview-data td {
    padding: 0.75rem;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
}

.preview-data th {
    background: #f8f9fa;
    font-weight: 600;
    color: var(--timetracker-dark);
}

/* Details Section */
.details-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.detail-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-section h3 {
    color: var(--timetracker-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.detail-section p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #666;
    line-height: 1.6;
}

.detail-section li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--timetracker-success);
    font-weight: bold;
}

.functionality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.func-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--timetracker-primary);
}

.func-category h4 {
    color: var(--timetracker-dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.func-category ul {
    list-style: none;
    padding: 0;
}

.func-category li {
    position: relative;
    padding-left: 1rem;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.func-category li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--timetracker-primary);
}

/* Project Metrics */
.project-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.metric-item {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.metric-item:hover {
    transform: translateY(-5px);
}

.metric-number {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--timetracker-primary), var(--timetracker-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.metric-label {
    color: #666;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Footer */
.footer {
    background: var(--timetracker-dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--timetracker-primary);
    margin-bottom: 1rem;
}

.footer-section p {
    color: #b3b3b3;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #b3b3b3;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--timetracker-primary);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 1rem;
    text-align: center;
    color: #b3b3b3;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .timetracker-showcase {
        padding: 1rem;
        min-height: auto;
    }
    
    .showcase-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .feature-highlights {
        order: 2;
    }
    
    .demo-preview {
        order: 1;
    }
    
    .preview-window {
        transform: none;
        max-width: 100%;
    }
    
    .highlight-item {
        padding: 1rem;
    }
    
    .highlight-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1px;
    }
    
    .chart-bars {
        height: 60px;
    }
    
    .timer-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .project-buttons {
        flex-direction: column;
    }
    
    .demo-tabs {
        flex-direction: column;
    }
    
    .report-options {
        grid-template-columns: 1fr;
    }
    
    .filter-row {
        flex-direction: column;
    }
    
    .employee-table {
        overflow-x: auto;
    }
    
    .functionality-grid {
        grid-template-columns: 1fr;
    }
    
    .project-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-stack-grid {
        grid-template-columns: 1fr;
    }
    
    .project-metrics {
        grid-template-columns: 1fr;
    }
    
    .timer-display-large {
        font-size: 2rem;
    }
    
    .timer-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== NEW REALISTIC DEMO STYLES ===== */

/* Time Entry Form */
.time-entry-form {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.time-entry-form h4 {
    color: #495057;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-entry-form h4 i {
    color: #28a745;
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.form-group input {
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    font-weight: 500;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Employee Records */
.employee-records {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
}

.records-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.records-header h4 {
    color: #495057;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.records-header h4 i {
    color: #007bff;
}

.total-hours {
    color: #28a745;
    font-weight: 600;
}

.records-table {
    overflow-x: auto;
}

.records-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.records-table th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 12px 8px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}

.records-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.records-table tbody tr:hover {
    background: #f8f9fa;
}

.btn-action {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 2px;
}

.btn-action.edit {
    color: #007bff;
}

.btn-action.edit:hover {
    background: #e7f1ff;
}

.btn-action.delete {
    color: #dc3545;
}

.btn-action.delete:hover {
    background: #f8d7da;
}

/* Manager Filters */
.manager-filters {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.manager-filters h4 {
    color: #495057;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.manager-filters h4 i {
    color: #007bff;
}

.filter-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr auto;
    gap: 20px;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
}

.filter-group label {
    font-weight: 600;
    color: #495057;
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.filter-group select {
    padding: 12px;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 1rem;
    background: white;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.filter-actions {
    display: flex;
    gap: 10px;
}

/* Manager Results */
.manager-results {
    margin-top: 30px;
}

.results-summary {
    margin-bottom: 30px;
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: #007bff;
}

.card-value {
    font-size: 2rem;
    font-weight: 700;
    color: #495057;
    margin-bottom: 5px;
}

.card-label {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Detailed Results */
.detailed-results {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
}

.detailed-results h4 {
    color: #495057;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.detailed-results h4 i {
    color: #007bff;
}

.results-table {
    overflow-x: auto;
}

.results-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.results-table th {
    background: #f8f9fa;
    color: #495057;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
    white-space: nowrap;
}

.results-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

.results-table tbody tr:hover {
    background: #f8f9fa;
}

.employee-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.employee-info strong {
    color: #495057;
}

.employee-info span {
    color: #6c757d;
    font-size: 0.8rem;
}

.event-breakdown {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.85rem;
}

.event-breakdown > div {
    color: #6c757d;
    padding: 2px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    margin: 1px 0;
}

.efficiency {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.efficiency.high {
    background: #d4edda;
    color: #155724;
}

.efficiency.medium {
    background: #fff3cd;
    color: #856404;
}

.efficiency.low {
    background: #f8d7da;
    color: #721c24;
}

.manager-period {
    color: #495057;
    background: #e7f1ff;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #b8daff;
    font-size: 1rem;
}

.manager-period strong {
    color: #007bff;
}

/* ===== GALLERY STYLES ===== */

/* Gallery Showcase Section */
.gallery-showcase {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f3ff 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.gallery-showcase::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 107, 107, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Gallery Section */
.gallery-section {
    position: relative;
    z-index: 1;
    text-align: center;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header .section-title {
    color: #2d3436;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 700;
}

.gallery-header .section-title i {
    color: #007bff;
    font-size: 2rem;
}

.gallery-header .section-description {
    color: #636e72;
    font-size: 1.2rem;
    margin: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.gallery-image-container {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.gallery-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image-container img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
    pointer-events: auto;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-info h4 {
    margin: 0 0 8px 0;
    font-size: 1.2rem;
    color: white;
}

.gallery-info p {
    margin: 0 0 15px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.gallery-view-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 15px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.gallery-view-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.gallery-modal-content {
    position: relative;
    max-width: 95%;
    max-height: 95%;
    width: 100%;
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.gallery-modal.active .gallery-modal-content {
    transform: scale(1);
}

.gallery-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    border: none;
    color: white;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.gallery-close:hover {
    background: rgba(0, 0, 0, 0.9);
    transform: rotate(90deg);
}

.gallery-modal-image {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    min-height: 400px;
}

.gallery-modal-image img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 8px;
}

.gallery-modal-info {
    padding: 25px;
    background: white;
    text-align: center;
}

.gallery-modal-info h3 {
    margin: 0 0 10px 0;
    color: #495057;
    font-size: 1.5rem;
}

.gallery-modal-info p {
    margin: 0;
    color: #6c757d;
    font-size: 1rem;
    line-height: 1.5;
}

.gallery-navigation {
    padding: 20px 25px;
    background: #f8f9fa;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #e9ecef;
}

.gallery-nav-btn {
    background: #007bff;
    border: none;
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gallery-nav-btn:hover:not(:disabled) {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.gallery-nav-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.5;
    transform: none;
}

.gallery-counter {
    font-weight: 600;
    color: #495057;
    font-size: 1rem;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .time-entry-form,
    .manager-filters,
    .employee-records,
    .detailed-results {
        padding: 20px;
    }
    
    .form-grid {
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
    
    .records-table,
    .results-table {
        font-size: 0.8rem;
    }
    
    .records-table table,
    .results-table table {
        min-width: 700px;
    }
    
    .event-breakdown {
        font-size: 0.75rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    /* Gallery Mobile Styles */
    .gallery-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .gallery-header h3 {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-modal-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .gallery-modal-image {
        min-height: 250px;
    }
    
    .gallery-modal-image img {
        max-height: 50vh;
    }
    
    .gallery-modal-info {
        padding: 20px;
    }
    
    .gallery-modal-info h3 {
        font-size: 1.2rem;
    }
    
    .gallery-navigation {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .gallery-nav-btn {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .gallery-overlay {
        position: relative;
        transform: translateY(0);
        background: linear-gradient(135deg, rgba(0, 123, 255, 0.9), rgba(108, 117, 125, 0.9));
        padding: 15px;
    }
    
    .gallery-info p {
        font-size: 0.8rem;
        margin-bottom: 10px;
    }
    
    .gallery-view-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
}