﻿.bgmtrx {
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background: -webkit-linear-gradient(169deg, #171c4a 17%, #565d9a 100%);
}

.search-container {
    width: 100%;
    padding: 10px;
    position: relative;
}

.search-box {
    width: 100%;
    padding: 10px 15px;
    padding-left: 40px; /* Make space for the search icon */
    box-sizing: border-box;
    border: 0.2px solid #ccc;
    font-size: 16px;
    background-color: transparent;
    background-clip: padding-box; /* Prevents the background color from going under the icon */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Horizontal offset, vertical offset, blur radius, shadow color */
}

.search-box:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Slightly more pronounced shadow on focus */
}

.search-icon {
    position: absolute; /* Position icon absolute to the container */
    left: 20px; /* Position from the left, adjust as needed */
    top: 50%; /* Center it vertically */
    transform: translateY(-50%); /* Fine-tune the centering */
    font-size: 18px; /* Adjust size as needed */
    color: #ccc; /* Icon color, adjust as needed */
    pointer-events: none; /* Ensures click events pass through to the input box */
}

.custom-card {
    width: 100%;
    height: 180px;
    position: relative; /* To position inner elements with absolute positioning */
    border-radius: 8px; /* Rounded corners */
    background-color: #f0f3f8; /* Example light gray background color */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow effect */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.container-icon {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.card-icon {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    /* padding-top: 15px;
    padding-bottom: 15px; */
}

.container-text {
    height: 40%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-text {
    color: #151948;
    text-align: center;
    font-weight: 600;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding-bottom: 10px;
}

.card-link {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Ensures the color doesn't change to default link color */
    display: block; /* To make the entire area clickable */
}

.custom-card:hover,
.custom-card:focus {
    border: 2px solid #4ea6ff; /* Example blue border. Change the color to your preference */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Optional: Slightly more pronounced shadow effect on hover */
}

/* Since we've added a border on hover, we should subtract that from the padding to prevent shifting */
.custom-card:hover,
.custom-card:focus {
    padding: 3px;
}

/* Normal state for btn-manage */
.btn-manage {
    background-color: white;
    border: 1.5px solid #151948; /* Assuming you want a 1px border, adjust as needed */
    color: #151948; /* Assuming you want the text color to be the same as the border when the background is white. Adjust if different. */
    transition: background-color 0.3s, color 0.3s; /* Optional: smooth transition for hover and active states */
    border-radius: 5px;
    padding: 10px 15px;
}

/* Hover effect (optional) */
.btn-manage:hover {
    background-color: #e7e7e7; /* Slightly darker shade of white for a subtle hover effect */
}

/* Active state (when button is clicked or "active") */
.btn-manage.active-manage,
.btn-manage:active {
    background-color: #151948;
    border: 1.5px solid #151948;
    color: white; /* Assuming you want the text color to be white when the button is active. Adjust if different. */
}

.align-right {
    text-align: right;
}

.custom-row {
    display: flex;
    flex-wrap: wrap;
}
.custom-col {
    flex: 0 0 100%; /* Default to full width for mobile and smaller screens */
    max-width: 100%;
}
.pd-app {
    padding-left: 5rem;
    padding-right: 5rem;
    margin-bottom: 5rem;
}
@media (orientation: landscape) {
    .custom-col {
        flex: 0 0 16.66666666666667%;
        max-width: 16.66666666666667%;
    }
}
/* Portrait: 50% width for medium-sized screens */
@media (min-width: 375px) and (orientation: portrait) {
    .custom-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .pd-app {
        padding-left: 0rem;
        padding-right: 0rem;
    }
}

@media (min-width: 270px) and (orientation: portrait) {
    .custom-col {
        flex: 0 0 50%;
        max-width: 50%;
    }
    .pd-app {
        padding-left: 0rem;
        padding-right: 0rem;
    }
}

.custom-col[style*="display: none"] {
    display: none !important;
}

.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000; /* Ensures it appears on top of other content */
}

/* Increase specificity to ensure styles are applied */
.btn.btn-microsoft {
    background-color: #0078d4; /* Microsoft's blue color */
    color: #ffffff; /* White text color */
    border: none; /* To override Bootstrap's default btn border */
}

.btn.btn-microsoft:hover,
.btn.btn-microsoft:focus {
    background-color: #005a9e; /* A slightly darker shade of Microsoft's blue for hover/focus */
    color: #ffffff;
}
.card-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
