/* Contenedor principal */
.startcondo-container {
    max-width: 960px;
    margin: 2rem auto;
    padding: 1.5rem;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Tarjetas */
.card {
    border-radius: 12px;
    border: 1px solid #e2e2e2;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.title {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.card-text {
    margin-bottom: 1rem;
    color: #444;
}

.subtitle {
    font-size: 1rem;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.info-text {
    color: #777;
}


.btn-primary {
    width: 100% !important;       /* 👈 fuerza el 100% */
    display: block !important;    /* evita inline-block */
    padding: 0.8rem 1rem;
    border-radius: 8px;
    border: none;
    background: #2563eb;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    text-align: center;
}

.btn-primary:hover {
    background: #1d4ed8;
}


.btn-secondary {
    width: 100%;
    display: block;
    padding: 0.7rem 1rem;
    margin-top: 0.5rem;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    background: #f3f4f6;
    color: #374151;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
}

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

.status-text {
    margin-top: 0.75rem;
    font-size: 0.9rem;
    color: #4b5563;
}
/* Dropzone */
.dropzone {
    border: 2px dashed #9ca3af;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    background: #f9fafb;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.05s ease;
    margin-bottom: 1rem;
}

.dropzone:hover {
    border-color: #4b5563;
    background: #f3f4f6;
    transform: translateY(-1px);
}

.dropzone-text {
    margin: 0;
    color: #4b5563;
}

/* ocultar input real */
.file-input-hidden {
    display: none;
}

/* Lista de archivos */
.file-list {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.file-item {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: baseline;
    padding: 0.3rem 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 0.9rem;
}

.file-name {
    font-weight: 500;
}

.file-size {
    color: #6b7280;
}

.file-type {
    color: #9ca3af;
}

/* ProgressBar */
.progressbar-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progressbar-track {
    flex: 1;
    height: 10px;
    border-radius: 9999px;
    background: #e5e7eb;
    overflow: hidden;
}

.progressbar-fill {
    height: 100%;
    border-radius: 9999px;
    background: #22c55e; /* verde; podrías cambiar a otro color */
    transition: width 0.2s ease;
}

.progressbar-label {
    font-size: 0.9rem;
    color: #374151;
}



.progressbar-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.progressbar-track {
    flex: 1;
    height: 10px;
    border-radius: 9999px;
    background: #e5e7eb;
    overflow: hidden;
}

.progressbar-fill {
    height: 100%;
    border-radius: 9999px;
    background: #22c55e; /* Cambia el color si quieres */
    transition: width 0.2s ease;
}

.progressbar-label {
    font-size: 0.9rem;
    color: #374151;
}


//

/* Barra de estado de API */
.api-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
}

.api-status-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
}

.api-status-items {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* El “icono” circular de estado */
.status-pill {
    width: 14px;
    height: 14px;
    border-radius: 9999px;
    border: 2px solid #9ca3af;
    box-shadow: 0 0 0 1px #f9fafb;
}

/* Verde: OK */
.status-ok {
    background: #22c55e;
    border-color: #16a34a;
}

/* Rojo: error */
.status-error {
    background: #ef4444;
    border-color: #b91c1c;
}

/* Gris: desconocido */
.status-unknown {
    background: #9ca3af;
    border-color: #6b7280;
}

.api-status-label {
    font-size: 0.8rem;
    color: #4b5563;
}



.token-exp {
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: #4b5563;
}
