/* ========================================
   DRAWER - GERMINAÇÃO
   ======================================== */

/* Reutiliza os estilos base do drawer anterior */

/* Layout de 2 Colunas para Localização e Tempo de Ciclo */
.drawer-two-column-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

/* Baia Status */
.drawer-baia-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.drawer-baia-indicator {
    width: 12px;
    height: 12px;
    background: #10B981;
    border-radius: 50%;
    flex-shrink: 0;
}

.drawer-baia-name {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #18191A;
}

/* Ocupação da Baia */
.drawer-ocupacao-section {
    margin-bottom: 20px;
}

.drawer-ocupacao-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.drawer-ocupacao-label {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #61666A;
}

.drawer-ocupacao-value {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #18191A;
}

.drawer-progress-bar {
    width: 100%;
    height: 10px;
    background: #E7E9E9;
    border-radius: 5px;
    overflow: hidden;
}

.drawer-progress-fill {
    height: 100%;
    background: #0068AB;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.drawer-ocupacao-warning {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 12px;
    color: #DC2626;
    margin-top: 8px;
}

/* Datas de Entrada e Saída */
.drawer-dates-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 0;
}

.drawer-date-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-date-label {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #61666A;
}

.drawer-date-value {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #18191A;
}

/* Tempo de Ciclo - Gráfico Circular */
.drawer-cycle-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.drawer-circular-progress {
    position: relative;
    width: 140px;
    height: 140px;
    margin-bottom: 16px;
}

.drawer-circular-progress svg {
    transform: rotate(-90deg);
}

.drawer-circular-progress-bg {
    fill: none;
    stroke: #E7E9E9;
    stroke-width: 12;
}

.drawer-circular-progress-fill {
    fill: none;
    stroke: #3B82F6;
    stroke-width: 12;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

.drawer-circular-progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.drawer-cycle-days {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #3B82F6;
    line-height: 1;
}

.drawer-cycle-label {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #61666A;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

.drawer-cycle-meta {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 13px;
    color: #61666A;
    text-align: center;
}

.drawer-cycle-meta strong {
    color: #18191A;
    font-weight: 600;
}

/* Performance Cards */
.drawer-performance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.drawer-performance-card {
    padding: 12px 14px;
    background: #F9FAFA;
    border: 1px solid #E7E9E9;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.drawer-performance-label {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #61666A;
    line-height: 1.4;
}

.drawer-performance-value {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #18191A;
    line-height: 1;
}

/* Performance Input */
.drawer-performance-input {
    width: 100%;
    height: auto;
    padding: 6px 8px;
    background: #FFFFFF;
    border: 1px solid #E7E9E9;
    border-radius: 4px;
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #18191A;
    line-height: 1;
    transition: all 0.2s ease;
}

.drawer-performance-input:focus {
    outline: none;
    border-color: #0068AB;
    box-shadow: 0 0 0 3px rgba(0, 104, 171, 0.1);
}

.drawer-performance-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

/* Aproveitamento Card */
.drawer-performance-card-aproveitamento {
    background: #D1FAE5;
    border-color: #A7F3D0;
    justify-content: center;
    align-items: center;
}

.drawer-aproveitamento-text {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #065F46;
    text-align: center;
    line-height: 1.4;
}

.drawer-aproveitamento-value {
    font-size: 14px;
    font-weight: 700;
    color: #047857;
}

/* Perdas Box */
.drawer-perdas-box {
    padding: 12px 16px;
    background: #FEF3C7;
    border: 1px solid #FCD34D;
    border-radius: 6px;
    margin-bottom: 16px;
}

.drawer-perdas-title {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #92400E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.drawer-perdas-text {
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 13px;
    color: #78350F;
}

/* Laudo Técnico Button */
.drawer-laudo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #FFFFFF;
    border: 1px solid #E7E9E9;
    border-radius: 6px;
    font-family: 'Archivo', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #18191A;
    cursor: pointer;
    transition: all 0.2s ease;
}

.drawer-laudo-btn:hover {
    background: #F9FAFA;
    border-color: #0068AB;
    color: #0068AB;
}

.drawer-laudo-btn i {
    width: 18px;
    height: 18px;
    color: #61666A;
    transition: all 0.2s ease;
}

.drawer-laudo-btn:hover i {
    color: #0068AB;
}

/* Divider dentro de section */
.drawer-section-divider {
    height: 1px;
    background: #E7E9E9;
    margin: 16px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .drawer-two-column-section {
        grid-template-columns: 1fr;
    }

    .drawer-performance-grid {
        grid-template-columns: 1fr;
    }
}
