/* Clockify Time Tracker Plugin Styles - Diseño 2 Módulos */

/* Indicador de cache optimizado */
.cache-info {
    background: #e8f5e8;
    border: 1px solid #4caf50;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 15px;
    font-size: 14px;
    color: #2e7d32;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cache-info .clear-cache {
    background: #4caf50;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.cache-info .clear-cache:hover {
    background: #45a049;
}

.clockify-tracker-container {
    display: flex;
    gap: 20px;
    width: 100%; /* Full width */
    font-family: "montserrat", sans-serif;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    justify-content: space-between;
}

/* MÓDULO 1: Información del proyecto */
.clockify-module.project-info {
    border: 1px solid #6024D7;
    border-radius: 33px;
    padding: 35px 50px;
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
   
}

.project-brand,
.project-scope,
.project-link {
   
    font-size: 17px;
    color: #495057;
}

.project-brand strong,
.project-scope strong,
.project-link strong {
    color: #212529;
    font-weight: 600;
}

.project-link a {
    color: #007bff;
    text-decoration: underline;
}

.project-link a:hover {
    color: #0056b3;
}

/* MÓDULO 2: Progreso por semanas */
.clockify-module.progress-info {
background: #fff;
    padding: 24px;
    text-align: center;
    border: 1px solid #6024D7;
    border-radius: 33px;
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.progress-title {
    font-size: 36px;
    font-weight: bold;
    color: #5E1BE2;
    margin-bottom: 25px;
}

.progress-title .hours-label {
    color: #8285f4;
    font-size: 27px;
    font-weight: normal;
}

/* Contenedor de semanas */
.weeks-container {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.week-item {
    flex: 1;
    text-align: center;
}

.week-number {
    font-size: 32px;
    font-weight: bold;
    color: #374151;
    margin-bottom: 8px;
    line-height: 1;
}

.week-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

/* Loading States */
.clockify-tracker-container.loading {
    opacity: 1;
}

.loading-pulse {
    animation: clockify-pulse 1.5s ease-in-out infinite;
    font-weight: 300;
}

.skeleton-text {
    background: linear-gradient(90deg, #f0f0f0 25%, #acadf8 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: clockify-skeleton 1.5s infinite;
    border-radius: 4px;
    height: 25px;
    max-width: 270px;
    display: inline-block;
    font-size: 16px;
}

@keyframes clockify-pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes clockify-skeleton {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Error state */
.clockify-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    margin: 10px 0;
}

.websiteCss{
    margin-bottom:0px;
}
/* Responsive Design */
@media (max-width: 768px) {
    .clockify-tracker-container {
        flex-direction: column;
        gap: 0;
    }
    
    .clockify-module.project-info {
             width: 100%;
    
    }
    
    .clockify-module.progress-info {
       width: 100%;
        margin-top: 15px;
    }
    
    .weeks-container {
        gap: 8px;
    }
    
    .week-number {
        font-size: 24px;
    }
 
}