html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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;
}

/*html {
  position: relative;
  min-height: 100%;
}*/
html, body {
    height: 100%;
    margin: 0;
}

/*body {
  margin-bottom: 60px;
}*/

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

body {
    display: flex;
    flex-direction: column;
    /* Use min-height: 100% instead of viewport units for more reliable mobile support */
    min-height: 100%;
    background: linear-gradient(135deg, #0096A9, #009445);
    /* Ensure background covers entire viewport even when content is short */
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    /*    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: 'Open Sans', sans-serif;
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

h2.text-center {
    color: #ffffff;
}

.announcement {
    background-color: white;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #ddd;
    font-weight: 500;
    font-size: 0.95rem;
}

.panel {
    background-color: #e6f0fb;
    border: 1px solid #90c2ec;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.panel-tools {
    background-color: #e6f0fb;
    border: 1px solid #90c2ec;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
}


.logo-container img {
    max-height: 90px;
    display: block;
    margin: 0 auto 1rem;
}

.custom-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    background-color: #fff;
    transition: 0.2s;
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-decoration: none;
    color: #212529;
    margin-bottom: 0.5rem;
}

    .custom-card:hover {
        background-color: #f9f9f9;
        transform: translateY(-2px);
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        color: #212529;
    }

.icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e0f3f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

    .icon-circle i {
        font-size: 1.2rem;
    }

.button-group {
    margin-top: auto;
    width: 100%;
}

@media (max-width: 576px) {
    .panel {
        padding: 0.8rem;
        border-radius: 10px;
        min-height: 240px;
    }

    .logo-container img {
        max-height: 60px;
        margin-bottom: 0.5rem;
    }

    .custom-card {
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        margin-bottom: 0.4rem;
        border-radius: 8px;
    }

    .icon-circle {
        width: 28px;
        height: 28px;
        margin-right: 0.4rem;
    }

        .icon-circle i {
            font-size: 0.9rem;
        }

    h2.text-center {
        font-size: 1.2rem;
    }
}
