@import url("site.css");

#hiddenSubmit { display:none; }

.container-action,
.oe-control {
    margin-top: 8px;
}

.container-myaction {
    display: flex;
    justify-content: space-between; /* This will place buttons at opposite ends */
    margin-top: 16px;
}

button:disabled {
    background-color: gray;
    cursor: not-allowed;
    opacity: 0.5;
}

.error-message {
    color: red;
    font-weight: bold;
}

.oe-control label ,
.oe-control {
    width: 100%;
}

.oe-control input,
.oe-control label {
    color: #999;
    background: #fff !important;
}

.oe-control label::after {
    content: ':';
}

/* Change the white to any color */
input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
}

input:-webkit-autofill:focus, 
.oe-control input:focus {
    border: 1px solid #e60000 !important;
}

.dialog button.primary {
    width: 100% !important;
}

.dialog button {
    border: 0px;
}

.dialog button.primary {
    color: #fff;
    background: var(--button-primary);
    padding: 8px 16px;
}

/* Button Styling */
.dialog button.butdiffprimary {
    color: #fff;
    background: var(--button-primary); /* Ensure this variable is defined */
    padding: 8px 16px;
    width: 45% !important; /* Make sure button spans the full width without using !important */
}

.dialog .container-action {
    margin-top: 16px;
}

.dialog .container-action .functions {
    margin-top: 32px;
}

.dialog .container-myaction {
    margin-top: 16px;
}

.dialog .container-myaction .functions {
    margin-top: 32px;
}

.dialog button.link {
    text-align: left;
    border:0px;
    background:0px;
    text-decoration: underline;
    cursor: pointer;
    color: var(--gray);
    padding: 0px;
    margin:0px;
}

.dialog button.link:visited,
.dialog button.link:hover {
    color: var(--button-primary);
}

.wide {
    overflow: unset;
    width: 100%;
}

.center {
    margin: auto;
    width: 50%;
    padding: 10px;
  }

.dc {
    background-color: rgba(255, 48, 0, 0.9);
    
    position: absolute;
    top: 16px;
    bottom: 0;
    left: 0;
    right: 0;
    
    margin: 0 10%;
    z-index: 1001;
    width: auto;
    height: 160px;
    padding: 8px;
    border-radius: 8px;
    color: #fff;
}

.dc-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.45);
    top: 0;
    left: 0;
    z-index: 1000;
}