/* custom-confirm.css - 커스텀 Confirm 스타일 */
.custom-confirm {
    display: none;  /* 처음에는 숨겨져 있음 */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8); /* 불투명한 어두운 배경 */
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.custom-confirm-content {
    background: #2c2f36; /* 어두운 배경 */
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    width: 80%;

    /* 중앙 정렬을 위한 설정 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.custom-confirm-message {
    font-size: 1.0em;
    margin-top: 10px;
    margin-bottom: 20px;
    color: #fff;
}

.custom-confirm-buttons {
    display: flex;
    justify-content: center;
	gap: 20px;
}

.custom-btn {
    padding: 5px 20px;
    font-size: 0.9em;
    cursor: pointer;
    border: none;
    border-radius: 6px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.custom-btn.confirm {
    background-color: #28a745;
    color: #fff;
}

.custom-btn.cancel {
    background-color: #dc3545;
    color: #fff;
}

.custom-btn:hover {
    background-color: #444;
}

.custom-btn:active {
    transform: scale(0.98);
}

/* 로딩 인디케이터 */
.loading-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
