/* Custom Modal Styling */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}
.custom-modal-dialog {
    position: relative;
    margin: 10% auto;
    max-width: 500px;
    width: 90%;
}
.custom-modal-content {
    background-color: #fff;
    border-radius: 0.3rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    outline: 0;
}
.custom-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #e9ecef;
    border-top-left-radius: 0.3rem;
    border-top-right-radius: 0.3rem;
}
.custom-modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    font-size: 1.25rem;
}
.custom-modal-header .close {
    padding: 1rem;
    margin: -1rem -1rem -1rem auto;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: .8;
    cursor: pointer;
}
.custom-modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
}
.custom-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    border-top: 1px solid #e9ecef;
}

/* Custom Toast Styling */
.custom-toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}
.custom-toast {
    display: none;
    width: 250px;
    background-color: rgba(255,255,255,.85);
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,.1);
    border-radius: 0.25rem;
}
.custom-toast-header {
    display: flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    color: #fff;
    background-color: #28a745;
    background-clip: padding-box;
    border-bottom: 1px solid rgba(0,0,0,.05);
    border-top-left-radius: calc(0.25rem - 1px);
    border-top-right-radius: calc(0.25rem - 1px);
}
.custom-toast-header .close {
    margin-left: auto;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    opacity: .8;
    cursor: pointer;
}
.custom-toast-body {
    padding: 0.75rem;
}