/* Container ve Grid */
.bakim-card {
    background-color: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
    flex-grow: 1;
}
.bakim-header {
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px;
    margin-bottom: 20px;
}

.bakim-header h3 {
    color: #333;
    font-weight: bold;
    font-size: 20px;
    padding-bottom: 5px;
    margin: 0;
}
.bakim-grid {
    display: grid;
    height: 100%;
    width: 100%;
    flex: 1;
    justify-content: center;
    align-items: center;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 2em;
    padding: 2em 15em;
    border-radius: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25), 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Kart Butonları */
.bakim-action-btn {
    opacity: 0.9;
    border: none;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    cursor: pointer;
    color: white;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    font-size: 1em;
    gap: 1em;
    padding: 1em;
}

.bakim-action-btn i {
    font-size: 2em;
}

.bakim-action-btn:hover {
    opacity: 1;
    transform: translateY(-3px);
}

.reset-cash-btn {
    background-color: var(--sunflower);
}

.reset-reminders-btn {
    background-color: var(--carrot);
}

.reset-payment-schedule-btn {
    background-color: var(--peterriver);
}

.reset-products-btn {
    background-color: var(--amethyst);
}

.optimize-db-btn {
    background-color: var(--nephritise);
    grid-column: span 2;
}

.factory-reset-btn {
    background-color: var(--alizarine);
    grid-column: span 2;
}

/* Modal Styles */
.bakim-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    overflow: auto;
}

.bakim-modal-content {
    background-color: #fff;
    margin: 10% auto;
    padding: 20px;
    border-radius: 15px;
    width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.bakim-modal-content h3 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

.bakim-modal-content p {
    margin: 0 0 20px 0;
    color: #666;
    font-size: 14px;
}

.bakim-modal-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    margin: 0 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    font-weight: bold;
    text-transform: uppercase;
    min-width: 80px;
}

.bakim-confirm-btn {
    background-color: var(--pomegranate);
    color: white;
}

.bakim-confirm-btn:hover {
    background-color: var(--alizarine);
    transform: translateY(-2px);
}

.bakim-cancel-btn {
    background-color: var(--emeralde);
    color: white;
}

.bakim-cancel-btn:hover {
    background-color: var(--nephritise);
    transform: translateY(-2px);
}

.progress-container {
    text-align: center;
    margin-top: 20px;
    display: none;
}

.circular-progress {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: conic-gradient(#4CAF50 0deg, #ddd 0deg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    position: relative;
}

.circular-progress::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
}

.circular-progress span {
    position: relative;
    z-index: 1;
    font-weight: bold;
    color: #333;
}