
/* 전체 모달 배경 */
#customAlert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1005;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* 모달 활성화 상태 */
#customAlert.active {
    opacity: 1;
    pointer-events: auto;
}

/* 전체 모달 배경 */
#customAlertPw {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1008;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

/* 모달 활성화 상태 */
#customAlertPw.active {
    opacity: 1;
    pointer-events: auto;
}

/* 모달 내용 */
.alert-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 75%;
}

.alert-contentPw {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 400px;
    width: 75%;
}

/* 메시지 */
#alertMessage {
    font-size: 16px;
    margin-bottom: 20px;
    color: #333;
}

/* 버튼들 */
.alert-buttons {
    display: flex;
    justify-content: space-around;
}

.alert-buttons button {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#alertConfirm {
    background-color: #007bff;
    color: white;
    width: 45%;
}

#alertConfirm:hover {
    background-color: #0056b3;
}

#alertCancel {
    background-color: #ccc;
    color: black;
    width: 45%;
}

#alertCancel:hover {
    background-color: #aaa;
}

#alertConfirmPw {
    background-color: #007bff;
    color: white;
    width: 45%;
}

#alertConfirmPw:hover {
    background-color: #0056b3;
}

#alertCancelPw {
    background-color: #ccc;
    color: black;
    width: 45%;
}

#alertCancelPw:hover {
    background-color: #aaa;
}

/* Toast 컨테이너 */
#toastContainer {
    position: fixed;
    bottom: 70px; /* 화면 하단에서 20px 위 */
    left: 10px; /* 화면 오른쪽에서 20px 왼쪽 */
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Toast 메시지 간격 */
}

/* Toast 메시지 */
.toast {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #333;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    font-size: 14px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.3s ease forwards, fadeOut 0.3s ease 3s forwards;
}

/* 등장 애니메이션 */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 사라지는 애니메이션 */
@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}