﻿#alertBoxContainer {
    background-color: rgba(0, 0, 0, 0.3);
    /*position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;*/
    z-index: 10000;
    overflow: auto;
}

#operationMsgAlert {
    text-align: left;
    margin: 10px !important;
}

.ui-dialog {
    /*position: fixed !important;
    width: 33% !important;
    min-height: 100px !important;
    max-height: 400px !important;
    border: 1px solid #fff !important;
    background-color: #fff !important;
    background-repeat: no-repeat !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);*/
    z-index: 10001 !important;
}

/*.ui-widget-header {
    border: 1px solid #4eb49e !important;
    color: #FFFFFF !important;
    font-weight: bold !important;
    background: #4eb49e !important;
}*/

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    border: 1px solid #f5812a !important;
    color: #FFFFFF !important;
    font-weight: bold !important;
    background: #f5812a !important;
}

.ui-button {
    background: #4eb49e !important;
    color: #FFFFFF !important;
    border: 1px solid #4eb49e !important;
}

.ui-dialog .ui-dialog-buttonpane button {
    margin: .5em .4em .5em 0;
    cursor: pointer;
    background: #4eb49e !important;
    color: #FFFFFF !important;
    border: 1px solid #4eb49e !important;
    padding: 5px 10px !important;
}

/* Default dialog styles */
.ui-dialog-titlebar {
    background-color: #007bff !important; /* Default to blue */
    color: white !important;
    border: 1px solid #007bff !important;
}
.ui-dialog-titlebar button.ui-button {
    background-color: #007bff !important; /* Default to blue */
    color: white !important;
    border: 1px solid #007bff !important;
}
.ui-dialog-buttonpane .ui-dialog-buttonset button {
    background-color: #007bff !important; /* Default button color */
    color: white !important;
    border: 1px solid #007bff !important;
}


/* Custom styles for different dialog types */
.dialog-error .ui-dialog-titlebar {
    background-color: maroon !important;
    border: 1px solid maroon !important;
}
.dialog-error .ui-dialog-titlebar button.ui-button {
    background-color: maroon !important;
    border: 1px solid maroon !important;
}
.dialog-error .ui-dialog-titlebar button.ui-dialog-titlebar-close {
    background-color: maroon !important;
    border: 1px solid maroon !important;
}
.dialog-error .ui-dialog-buttonpane .ui-dialog-buttonset button {
    background-color: maroon !important;
    border: 1px solid maroon !important;
}

.dialog-success .ui-dialog-titlebar {
    background-color: green !important;
    border: 1px solid green !important;
}
.dialog-success .ui-dialog-titlebar button.ui-button {
    background-color: green !important;
    border: 1px solid green !important;
}
.dialog-success .ui-dialog-titlebar button.ui-dialog-titlebar-close {
    background-color: green !important;
    border: 1px solid green !important;
}
.dialog-success .ui-dialog-buttonpane .ui-dialog-buttonset button {
    background-color: green !important;
    border: 1px solid green !important;
}

.dialog-warning .ui-dialog-titlebar {
    background-color: #e96725 !important;
    border: 1px solid #e96725 !important;
}
.dialog-warning .ui-dialog-titlebar button.ui-button {
    background-color: #e96725 !important;
    border: 1px solid #e96725 !important;
}
.dialog-warning .ui-dialog-titlebar button.ui-dialog-titlebar-close {
    background-color: #e96725 !important;
    border: 1px solid #e96725 !important;
}
.dialog-warning .ui-dialog-buttonpane .ui-dialog-buttonset button {
    background-color: #e96725 !important;
    border: 1px solid #e96725 !important;
}
