/* Modals are now unified in admin-components.css */
/* This file contains customized helper styles for specific modals like the Vault Modal */

.vault-info-banner {
    background: var(--bg-elevated);
    border-radius: 18px;
    padding: 15px 20px;
    margin-bottom: 25px;
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--shadow-sm);
}

.vault-info-banner i {
    color: var(--remind-blue);
    font-size: 18px;
    flex-shrink: 0;
}

.vault-info-banner p {
    margin: 0;
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.5;
    opacity: 0.9;
}

.vault-profit-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 22px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vault-profit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-medium);
}

.vault-profit-card .card-main-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 15px;
}

.vault-profit-card .card-icon-wrapper {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.vault-profit-card.withdrawable .card-icon-wrapper {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.vault-profit-card.pending .card-icon-wrapper {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.vault-profit-card .card-info-wrapper {
    text-align: left; /* Keep left alignment for values */
}

.vault-profit-card .card-label {
    display: block;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
    margin-bottom: 5px;
}

.vault-profit-card .card-value {
    font-size: 28px;
    font-weight: 900;
    line-height: 1;
}

.vault-profit-card.withdrawable .card-value {
    color: #10b981;
}

.vault-profit-card.pending .card-value {
    color: #f59e0b;
}

/* Details toggle button */
.vault-details-toggle {
    width: 100%;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 10px 15px;
    color: var(--text-primary);
    font-size: 12px;
    font-weight: 800;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    font-family: inherit;
}

.vault-details-toggle:hover {
    background: var(--hover-bg);
    border-color: var(--border-medium);
}

.vault-details-toggle i {
    transition: transform 0.3s ease;
    font-size: 10px;
}

.vault-breakdown-container {
    display: none;
    margin-top: 15px;
    border-top: 1px dashed var(--border-subtle);
    padding-top: 15px;
}

.vault-summary-card {
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 22px 25px;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.vault-summary-card:hover {
    border-color: var(--border-medium);
}

.vault-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.9;
}

.vault-summary-row.total-row {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-subtle);
    opacity: 1;
}

.vault-summary-row .label {
    font-weight: 800;
}

.vault-summary-row .value {
    font-weight: 800;
}

.vault-summary-row.total-row .label {
    font-weight: 900;
    font-size: 15px;
}

.vault-summary-row.total-row .value {
    font-size: 26px;
    font-weight: 900;
    color: var(--remind-blue);
}

.vault-action-btn {
    width: 100%;
    height: 52px;
    border-radius: 16px;
    font-weight: 900;
    background: #10b981;
    border: none;
    font-size: 15px;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.2);
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.25s ease;
    font-family: inherit;
}

.vault-action-btn:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -3px rgba(5, 150, 105, 0.3);
}

.vault-action-btn:active {
    transform: translateY(0);
}
