/* css/sales.css */
.sales-page {
    background-color: #f7f9fc;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    height: 100%;
    width: 100%;
    padding-top: 130px; /* Jarak dari header merah */
}

.sales-container {
    width: fit-content;
    max-width: 95vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sales-header {
    text-align: center;
    margin-bottom: 40px;
}

.sales-title {
    font-size: 44px;
    font-weight: 700;
    color: var(--ariston-red);
    margin-bottom: 12px;
}

.sales-desc {
    font-size: 20px;
    color: var(--text-secondary);
}

.sales-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    width: 100%;
}

.sales-card {
    background: var(--text-light);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    width: 280px;
    padding: 45px 20px;
    text-align: center;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: var(--transition-smooth);
}

.sales-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}

.sales-card.selected {
    border-color: var(--ariston-red);
    background-color: #ffffff;
    box-shadow: 0 15px 35px rgba(211, 18, 42, 0.08);
}

.sales-card.selected .sales-name {
    color: var(--ariston-red);
}

.sales-avatar-initials {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background-color: var(--ariston-red);
    color: #ffffff;
    font-size: 34px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px auto;
    box-shadow: 0 8px 20px rgba(200, 16, 46, 0.15);
    text-transform: uppercase;
}

.sales-name {
    font-size: 22px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 8px;
    transition: var(--transition-smooth);
}

.sales-role {
    font-size: 16px;
    color: #888888;
}

.sales-action-container {
    width: 100%;
    display: flex;
    justify-content: center;
}

#sales-submit-btn {
    width: 620px;
    height: 70px; /* Tinggi tegas premium */
    font-size: 22px;
    font-weight: 700;
    border-radius: 35px; /* Gaya tombol kapsul modern */
    border: none;
    background: var(--ariston-red);
    color: var(--text-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 25px rgba(200, 16, 46, 0.2);
    transition: var(--transition-smooth);
    text-align: center;
}

#sales-submit-btn:hover:not(:disabled), #sales-submit-btn.focused:not(:disabled) {
    background: var(--ariston-red-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 16, 46, 0.3);
}

#sales-submit-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    opacity: 0.8;
}

/* Override gaya fokus remote untuk kartu sales agar tidak membingungkan dengan status terpilih */
.sales-card.focusable.focused {
    transform: scale(1.04);
}

.sales-card.focusable.focused:not(.selected) {
    border-color: #888888 !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
}

.sales-card.focusable.focused.selected {
    border-color: var(--ariston-red) !important;
    box-shadow: 0 0 0 4px var(--ariston-red), 0 15px 35px rgba(200, 16, 46, 0.2) !important;
}


