@import "tailwindcss";

/*
From Guest / Landing page */

.background-overlay {
    position: relative;
    width: 100%;
    height: 100vh;
    background-image: url('/img/CHED Background Overlay_A.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* .background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgba(0, 50, 160, 0.7) ,rgba(216, 175, 0, 0.7) );
    z-index: 1;
} */

.background-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, rgb(0 50 160 / 86%), rgb(216 175 0 / 36%));
    z-index: 1;
}


.content-container {
    position: relative;
    z-index: 2;
}

/* For Custom here */

/* Ensure the toast background and icon contrast well */
.colored-toast .swal2-icon-success {
    background-color: #28a745 !important; /* Dark green background */
    color: white !important; /* White icon color */
}

/* Ensure other icon types also have proper visibility */
.colored-toast .swal2-icon-error {
    background-color: #f27474 !important; /* Red background for error */
    color: white !important; /* White icon color */
}

.colored-toast .swal2-icon-warning {
    background-color: #f8bb86 !important; /* Yellow background for warning */
    color: black !important; /* Dark icon color for visibility */
}

.colored-toast .swal2-icon-info {
    background-color: #3fc3ee !important; /* Blue background for info */
    color: white !important; /* White icon color */
}

.colored-toast .swal2-icon-question {
    background-color: #87adbd !important; /* Gray-blue background for question */
    color: white !important; /* White icon color */
}

/* Ensure the title and close button are visible */
.colored-toast .swal2-title {
    color: white !important; /* White title text */
}

.colored-toast .swal2-close {
    color: white !important; /* White close button */
}

.colored-toast .swal2-html-container {
    color: white !important; /* White content text */
}

/* Make sure the icon is displayed correctly */
.colored-toast .swal2-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: white !important; /* Ensure the icon color is white */
}

/* td:nth-child(7) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100px;
} */
