body {
            font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
        }
        .container {
            font-family: Arial, sans-serif;
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
            /* Añadimos la visibilidad inicial */
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease;
        }
        .container.authenticated {
            opacity: 1;
            visibility: visible;
        }
        h1 {
            color: #444;
            border-bottom: 1px solid #ccc;
            font-weight: 500;
        }
        h3 {
            color: #444;
        }
        .stats {
            margin: 10px 0;
            padding: 10px;
            background: #edf7e9;
            color: #006400;
            border-radius: 4px;
            font-style: italic;
        }
        .preview {
            margin: 20px 0;
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 10px;
        }
        .preview-item {
            position: relative;
            padding: 5px;
            border: 1px solid #d6e9c6;
            border-radius: 4px;
        }
        .preview-item img, .preview-item video {
            width: 100%;
            height: 150px;
            object-fit: cover;
        }
        .preview-item .info {
            font-size: 12px;
            margin-top: 5px;
        }
        .buttons {
            margin: 60px 0 40px 0;
            display: flex;
            gap: 6px;
            flex-wrap: wrap;
            justify-content: center;
        }
        button {
            position: relative;
            padding: 8px 16px;
            cursor: pointer;
            border-radius: 4px;
            border: 1px outset #ad50f8;
            background: #5550f6;
            color: #ffffff;
            box-shadow: 1px 1px 3px 0px rgb(191 191 191);
            transition: all 0.2s ease;
            font-size: 14px;
        }
        .tooltip {
            visibility: hidden;
            width: 160px;
            background-color: #333;
            color: #fff;
            text-align: center;
            border-radius: 4px;
            padding: 5px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 50%;
            margin-left: -80px;
            opacity: 0;
            transition: opacity 0.3s, visibility 0.3s;
        }
        .tooltip::after {
            content: "";
            position: absolute;
            top: 100%; /* Coloca el triángulo justo debajo del tooltip */
            left: 50%;
            margin-left: -5px; /* Centra el triángulo */
            border-width: 5px;
            border-style: solid;
            border-color: #333 transparent transparent transparent; /* Triángulo apuntando hacia abajo */
        }
        button:hover .tooltip {
            visibility: visible;
            opacity: 1;
        }
        button:hover:not(:disabled) {
            background: #443fc9;
        }
        button:disabled {
            cursor: not-allowed;
            opacity: 0.3;
        }
        select:disabled {
            cursor: not-allowed;
            opacity: 0.3;
        }    
        .resolution-groups {
            margin: 20px 0;
        }
        
        .groups-container {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            margin-left: 20px;
            gap: 10px;
        }
        
        .groups-container div {
            display: list-item;
            padding: 5px 0px;
        }
        .loading {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.8);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
        }
        .folder-path {
            background: #edf7e9;
            color: #006400;
            padding: 5px 10px;
            margin: 5px 0;
            border-radius: 4px;
            border-bottom: 1px solid #ddd;
            font-size: 0.9em;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .folder-list {
            margin: 15px 0;
        }
        .folder-path > button {
            background-color: #337ab7;
            color: white;
            border: 1px solid #2e6da4;
            padding: 0px 4px;
            margin: 6px;
        }
        .folder-path > button:hover {
            background-color: #286090;
        }
        .upload-group {
            display: flex;
            gap: 3px;
            padding: 3px;
            border: 1px dashed #ad50f8;
            border-radius: 4px;
        }
        .month-selector {
            padding: 8px 0;
            border-radius: 4px;
            border: 1px solid #ad50f8;
            color: #000000;
            box-shadow: 1px 1px 3px 0px rgba(191, 191, 191, 1);
        }
        .progress-container {
            margin: 20px 0;
            background: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 4px rgba(0,0,0,0.1);
        }
        
        .progress-header {
            display: flex;
            justify-content: space-between;
            margin-bottom: 10px;
            font-size: 14px;
        }
        
        .progress-percentage {
            font-weight: bold;
            color: #2c3e50;
        }
        
        .progress-bar {
            height: 20px;
            background: #4CAF50;
            width: 0%;
            border-radius: 10px;
            transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .progress-stats {
            display: flex;
            justify-content: space-between;
            margin-top: 10px;
            font-size: 12px;
            color: #7f8c8d;
        }
        
        .error-counter {
            margin-top: 10px;
            color: #e74c3c;
            font-size: 12px;
            display: none;
        }
        
        .spinner {
            animation: spin 1s linear infinite;
            margin-right: 5px;
        }
        
        @keyframes spin {
            100% { transform: rotate(360deg); }
        }
        .status-text {
            margin: 5px 0;
            font-size: 14px;
        }
        .login-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(255, 255, 255, 0.95);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 2000;
            opacity: 1;
            visibility: visible;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .login-container {
            font-family: Arial, sans-serif;
            text-align: center;
            padding: 1.5rem;
            border-radius: 8px;
            background: white;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        }
        
        .login-button {
            margin-top: 1rem;
            padding: 10px 20px;
            font-size: 16px;
            background: #5550f6;
            color: white;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            transition: background 0.3s ease;
        }
        
        .login-button:hover {
            background: #443fc9;
        }