/* Estilos para el sistema de timer */
.gcm-timer-container {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.gcm-timer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.gcm-timer-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.5em;
}

.gcm-timer-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.status-active {
    background-color: #27ae60;
    animation: pulse 2s infinite;
}

.status-indicator.status-expired {
    background-color: #e74c3c;
}

.status-indicator.status-completed {
    background-color: #95a5a6;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.gcm-timer-display {
    text-align: center;
    margin: 30px 0;
}

.gcm-timer-time {
    font-size: 3em;
    font-weight: bold;
    color: #2c3e50;
    font-family: 'Courier New', monospace;
    margin-bottom: 20px;
}

.gcm-timer-time .hours,
.gcm-timer-time .minutes,
.gcm-timer-time .seconds {
    display: inline-block;
    min-width: 60px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
    margin: 0 2px;
}

.gcm-timer-progress {
    margin: 20px 0;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60, #2ecc71);
    transition: width 1s ease;
    border-radius: 10px;
}

.progress-text {
    text-align: center;
    margin-top: 10px;
    font-weight: bold;
    color: #2c3e50;
}

.gcm-timer-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.gcm-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.gcm-btn-extend {
    background: #3498db;
    color: white;
}

.gcm-btn-extend:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.gcm-btn-end {
    background: #e74c3c;
    color: white;
}

.gcm-btn-end:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

.gcm-timer-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-top: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    color: #2c3e50;
}

/* Estilos para el dashboard */
.gcm-dashboard {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.gcm-dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.gcm-dashboard-header h2 {
    color: #2c3e50;
    margin-bottom: 20px;
}

.gcm-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-item {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5em;
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
}

.stat-label {
    color: #7f8c8d;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gcm-consoles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.console-card {
    background: #fff;
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
}

.console-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.console-card.status-available {
    border-color: #27ae60;
}

.console-card.status-busy {
    border-color: #e74c3c;
}

.console-card.status-maintenance {
    border-color: #f39c12;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.console-header h3 {
    margin: 0;
    color: #2c3e50;
}

.console-status {
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    text-transform: uppercase;
}

.console-status.status-available {
    background: #d5f4e6;
    color: #27ae60;
}

.console-status.status-busy {
    background: #fadbd8;
    color: #e74c3c;
}

.console-status.status-maintenance {
    background: #fef9e7;
    color: #f39c12;
}

.console-info p {
    margin: 5px 0;
    color: #7f8c8d;
}

.active-session {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.session-timer {
    font-family: 'Courier New', monospace;
    font-size: 1.2em;
    font-weight: bold;
    color: #e74c3c;
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .gcm-timer-time {
        font-size: 2em;
    }
    
    .gcm-timer-time .hours,
    .gcm-timer-time .minutes,
    .gcm-timer-time .seconds {
        min-width: 40px;
        padding: 5px;
    }
    
    .gcm-timer-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .gcm-dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    .gcm-consoles-grid {
        grid-template-columns: 1fr;
    }
}
