@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyN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wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.loading-progress {
    position: relative;
    display: block;
    width: 8rem;
    height: 8rem;
    margin: 20vh auto 1rem auto;
}

    .loading-progress circle {
        fill: none;
        stroke: #e0e0e0;
        stroke-width: 0.6rem;
        transform-origin: 50% 50%;
        transform: rotate(-90deg);
    }

        .loading-progress circle:last-child {
            stroke: #1b6ec2;
            stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
            transition: stroke-dasharray 0.05s ease-in-out;
        }

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

    .loading-progress-text:after {
        content: var(--blazor-load-percentage-text, "Loading");
    }





:root {
    --rz-primary: #1b6ec2 !important;
    --rz-primary-lighter: #63a4ff !important;
    --rz-primary-light: #5893ff !important;
    --rz-primary-dark: #1861ac !important;
    --rz-primary-darker: #0f4a90 !important;
    --rz-secondary: #6c757d !important;
    --rz-secondary-lighter: #a6a6a6 !important;
    --rz-secondary-light: #8e8e8e !important;
    --rz-secondary-dark: #545454 !important;
    --rz-secondary-darker: #373737 !important;
    --rz-info: #085786 !important;
    --rz-info-lighter: #63d1d1 !important;
    --rz-info-light: #5bc4c4 !important;
    --rz-info-dark: #1e7460 !important;
    --rz-info-darker: #164d4d !important;
    --rz-success: #28a745 !important;
    --rz-success-lighter: #72d572 !important;
    --rz-success-light: #68c368 !important;
    --rz-success-dark: #1e7e34 !important;
    --rz-success-darker: #15522b !important;
    --rz-warning: #ffc107 !important;
    --rz-warning-lighter: #ffdb4d !important;
    --rz-warning-light: #ffd54f !important;
    --rz-warning-dark: #d39e00 !important;
    --rz-warning-darker: #b98f00 !important;
    --rz-danger: #dc3545 !important;
    --rz-danger-lighter: #f8c4c4 !important;
    --rz-danger-light: #f5b8b8 !important;
    --rz-danger-dark: #a71d2a !important;
    --rz-danger-darker: #7e111 !importante
}



/* Custom styles for the table */
.calendar-table {
    width: 100%;
    border-collapse: collapse;
}

    .calendar-table th,
    .calendar-table td {
        text-align: center;
        vertical-align: middle;
        padding: 10px;
        border: 1px solid #ddd;
    }



/* Custom styles for hover effect */
.calendar-table td button {
    transition: background-color 0.3s ease;
}

    .calendar-table td button:hover {
        background-color: #007bff;
        color: #fff;
    }


.grid-container {
    display: grid;
    grid-template-rows: 2fr 1fr; /* Two rows of equal height */
    grid-template-columns: 1fr 1fr; /* Two columns of equal width */
    gap: 2px; /* Optional: Space between grid items */
    /* Adjust as needed */
}

.button1 {
    grid-row: 1; /* Start at row 1 and span across 2 rows */
    grid-column: 1 / span 2; /* Place in the first column */
}

.button2 {
    grid-row: 2; /* Place in the first row */
    grid-column: 1; /* Place in the second column */
}

.button3 {
    grid-row: 2; /* Place in the second row */
    grid-column: 2; /* Place in the second column */
}

.button_full {
    grid-row: 1/ span 2; /* Start at row 1 and span across 2 rows */
    grid-column: 1 / span 2; /* Place in the first column */
}


/* info */

/* styles.css */
.content-container {
    display: flex;
    justify-content: space-between; /* Align children on opposite ends */
    align-items: start; /* Align items at the start of the flex container */
    width: 100%; /* Take full width of the container */
}

.user-info, .schedule-info {
    flex: 1; /* Each child will take equal amount of space */
}

.user-info {
    margin-right: 20px; /* Optional: adds some space between the two divs */
}

.schedule-info {
    width: 600px; /* Set a fixed width for the schedule info or as needed */
}

    .schedule-info ul {
        display: flex;
        flex-wrap: wrap; /* Allows items to wrap onto the next line on small screens */
        padding: 0;
        justify-content: space-around;
        align-items: center;
    }


    .schedule-info li {
        margin: 5px; /* Optional: adds spacing between list items */
    }


/* ==========================
    REGISTER DIALOG STYLES
   ========================== */
.rz-dialog.register-dialog .rz-dialog-confirm-buttons .rz-button.rz-primary {
    background-color: #1b6ec2 !important; /* Blue for Register */
    color: white !important;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 15px;
}

.rz-dialog.register-dialog .rz-dialog-confirm-buttons .rz-button.rz-base {
    background-color: gray !important;
    color: white !important;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
}

/* ==========================
    DELETE DIALOG STYLES
   ========================== */
.rz-dialog.delete-dialog .rz-dialog-confirm-buttons .rz-button.rz-primary {
    background-color: #dc3545 !important; /* Red for DELETE */
    color: white !important;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    padding: 10px 15px;
}

.rz-dialog.delete-dialog .rz-dialog-confirm-buttons .rz-button.rz-base {
    background-color: gray !important;
    color: white !important;
    font-size: 14px;
    font-weight: bold;
    border-radius: 5px;
}


/* Center the form with an image */
.login-form {
    max-width: 400px;
    margin: 50px auto;
    padding: 20px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center content */
}

/* Image styling */
.login-image {
    width: 100px; /* Adjust size */
    height: auto;
    margin-bottom: 15px;
}

/* Form input group */
.form-group {
    margin-bottom: 15px;
    text-align: left; /* Align labels to the left */
}

    /* Labels */
    .form-group label {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

/* Input fields */
.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s;
}

    /* Highlight input on focus */
    .form-input:focus {
        border-color: #007bff;
        outline: none;
    }

/* Validation summary styling */
.validation-summary {
    color: red;
    font-weight: bold;
    margin-bottom: 10px;
}

/* Submit button */
.login-button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    /* Hover effect for button */
    .login-button:hover {
        background-color: #0056b3;
    }

/* Login button with #B4CC33 color */
.login-button {
    width: 100%;
    padding: 10px;
    background-color: #B4CC33; /* Green */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

    /* Hover effect */
    .login-button:hover {
        background-color: #9AB02D; /* Slightly darker green */
    }

/* Subscription Container */
.subscription-container {
    max-width: 90%;
    margin: 20px auto;
    text-align: left; /* Align content to the left */
}

/* Grid Layout with Left Alignment */
.subscription-grid {
    display: flex;
    flex-wrap: wrap; /* Wrap to the next row if necessary */
    justify-content: flex-start; /* Align items to the left */
    gap: 20px; /* Space between items */
}

/* Individual Subscription Cards */
.subscription-card {
    flex: 1 1 300px; /* Minimum width 300px, flexible */
    max-width: 300px;
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s;
}

    /* Hover effect */
    .subscription-card:hover {
        transform: scale(1.05);
    }

/* No Subscription Message */
.no-subscription {
    max-width: 500px;
    margin: 20px auto;
    padding: 15px;
    background: #ffeded;
    border-radius: 10px;
    text-align: center;
    color: #d9534f;
    font-weight: bold;
}


.split-container {
    display: flex;
}

.split-panel {
    width: 50%;
    padding:20px;
    /* rest as above */
}

/* Ensure Responsiveness */
@media (max-width: 768px) {
    .subscription-grid {
        flex-direction: column; /* Stack items on smaller screens */
        align-items: flex-start; /* Keep alignment to the left */
    }
}
