/* Dashboard Specific */
.bill-overview {
    margin-bottom: 40px;
}

.sharing-section, .bank-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.bank-edit {
    display: flex;
    gap: 10px;
}

.bank-edit input {
    flex: 1;
}

.payment-summary {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.summary-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    padding: 28px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 12px 32px rgba(0, 0, 0, 0.06),
        0 3px 12px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.summary-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

.summary-card:hover {
    transform: translateY(-3px) scale(1.02);
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 20px 48px rgba(0, 0, 0, 0.1),
        0 6px 20px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.summary-card h4 {
    color: #7f8c8d;
    margin-bottom: 10px;
    font-size: 14px;
}

.summary-card span {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
}

.payments-list {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.payment-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    border-left: 4px solid #27ae60;
}

.payment-item h5 {
    color: #2c3e50;
    margin-bottom: 5px;
}

.payment-item p {
    color: #7f8c8d;
    font-size: 14px;
    margin-bottom: 3px;
}

/* Edit instructions */
.edit-instructions {
    margin-bottom: 15px;
}

.edit-tip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border-radius: 10px;
    border-left: 4px solid #f39c12;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tip-icon {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

.tip-text {
    font-size: 0.95rem;
    color: #856404;
    font-weight: 500;
}

.save-btn {
    background: #28a745;
}

.save-btn.changes-pending {
    background: #f39c12;
    animation: pulse 1.5s infinite;
    box-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}


/* Owner dashboard partial payment styles */
.item-card.partial-paid {
    border-left: 4px solid #ffc107;
    background: linear-gradient(135deg, #fff9c4 0%, #fff3cd 100%);
}

.split-payment-status {
    margin-top: 8px;
    padding: 8px;
    background: rgba(255, 193, 7, 0.1);
    border-radius: 4px;
    border: 1px solid #ffc107;
}

.payment-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 500;
}

.paid-amount {
    color: #28a745;
}

.remaining-amount {
    color: #dc3545;
}

.split-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.split-payer {
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.85em;
    color: #495057;
}

.payment-items {
    font-style: italic;
    color: #6c757d;
}

.payment-type {
    display: inline-block;
    background: #17a2b8;
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.75em;
    margin-top: 5px;
}

.split-summary {
    display: contents;
}
