/* Full page styling */
body {
    background-color: #f8f9fa; /* General light gray background */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

/* Gray rectangle (gresquer) */
.gresquer-container {
    position: relative;
    background-color: #f1f3f5; /* Lighter gray */
    padding: 2rem; /* Inner padding */
    border-radius: 20px; /* Rounded corners */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a smooth effect */
}

/* Logo and system name styling */
.logo-content {
    text-align: center;
    margin-bottom: 2rem; /* Space below logo and system name */
}

.logo-content img {
    width: 80px; /* Logo size */
    height: 80px;
    object-fit: contain; /* Preserve aspect ratio */
    border-radius: 50%; /* Circular logo */
    margin-bottom: 0.5rem; /* Space below the logo */
}

.logo-content h1 {
    font-size: 1.5rem;
    color: #6c757d; /* Grayish color for system name */
    margin: 0; /* Remove extra space */
}

/* Login/Signup card */
.card {
    border-radius: 10px;
    overflow: hidden;
    max-width: 800px;
    width: 100%;
}

.bg-signup {
    background-color: #6c63ff;
    color: #fff;
}

.btn-outline-light:hover {
    color: #6c63ff;
    background-color: #fff;
}

/* Responsive behavior */
@media (max-width: 768px) {
    .gresquer-container {
        padding: 1.5rem; /* Adjust padding for smaller screens */
    }

    .logo-content h1 {
        font-size: 1.2rem; /* Smaller font size for mobile */
    }
}

/* Frameless Modal Styling */
.frameless-modal {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2); /* Smooth shadow */
    border-radius: 20px; /* Rounded corners */
    padding: 2rem; /* Inner padding */
    background: #ffffff;
}

.frameless-modal .modal-body {
    padding: 1rem 2rem;
}

/* Buttons styling */
.frameless-modal .btn {
    border-radius: 5px;
}

/* Make the modal appear centered for all screens */
.modal-dialog-centered {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Ensure it's vertically centered */
}

@media (max-width: 768px) {
    .frameless-modal {
        padding: 1rem; /* Adjust padding for smaller screens */
    }
}


.modal-body .mb-3 {
    margin-bottom: 1.5rem;
}

/* Style the input boxes */
.modal-body input {
    border-radius: 10px; /* Rounded corners */
    border: 1px solid #ced4da; /* Light border */
}

/* Style the dropdown */
 /* Custom modal styling */
        .custom-modal {
            border-radius: 10px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
            border: none;
            padding: 1.5rem;
            max-width: 600px;
            width: 100%;
        }

        /* Header buttons */
        .modal-header {
            display: flex;
            justify-content: flex-end;
            border-bottom: none;
            padding: 0;
        }

        .modal-header .btn {
            font-weight: bold;
            padding: 10px 20px;
            border-radius: 5px;
            transition: all 0.3s ease-in-out;
        }

        .btn-close-custom {
            background-color: #ff4d4d; /* Red */
            color: #fff;
            border: none;
        }

        .btn-close-custom:hover {
            background-color: #e60000;
        }

        .btn-signup-custom {
            background-color: #28a745; /* Green */
            color: #fff;
            border: none;
        }

        .btn-signup-custom:hover {
            background-color: #218838;
        }

        /* Modal content spacing */
        .modal-body {
            padding: 1rem 0;
        }

        .form-group label {
            font-weight: bold;
        }

        .form-group input,
        .form-group select {
            border-radius: 5px;
        }

        /* Responsive behavior */
        @media (max-width: 768px) {
            .custom-modal {
                padding: 1rem;
            }

            .modal-header {
                flex-direction: column;
                gap: 0.5rem;
                align-items: flex-start;
            }
        }
        /* Custom Button Styling */
/* General Button Styling */
.btn-danger {
    background-color: #ff4d4d; /* Red color for the Go Back button */
    border: none; /* No border */
    font-weight: normal; /* Remove bold font */
    color: #fff; /* White text */
    border-radius: 0; /* No rounded corners */
    padding: 12px 24px; /* Increase height */
    font-size: 16px; /* Normal font size */
    cursor: pointer;
    transition: opacity 0.3s ease; /* Smooth hover effect */
}

.btn-success {
    background-color: #28a745; /* Green color for the Save button */
    border: none; /* No border */
    font-weight: normal; /* Remove bold font */
    color: #fff; /* White text */
    border-radius: 0; /* No rounded corners */
    padding: 12px 24px; /* Increase height */
    font-size: 16px; /* Normal font size */
    cursor: pointer;
    transition: opacity 0.3s ease; /* Smooth hover effect */
}

.btn-danger:hover,
.btn-success:hover {
    opacity: 0.9; /* Slight opacity on hover */
}

/* Modal Content Styling */
.modal-content {
    border-radius: 0; /* Remove rounded corners for modal */
    padding: 20px; /* Padding for content */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

