html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

html {
  position: relative;
  min-height: 100%;
}



body {
    margin-bottom: 60px;
    background: linear-gradient(180deg, #5F8ACF 0%, #6D83B4 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: #212529;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

.custom-scroll {
    max-height: calc(100vh - 70px);
    min-height: calc(100vh - 70px);
    overflow-y: auto;
    overflow-x: hidden;
}

#main-wrapper {
    /* Reserved for main layout adjustments if needed */
}

.dropdown-menu {
    padding-bottom: 40px;
}

.frmpanel {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 240, 240, 0.95));
    padding: 30px 40px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: #212529;
    max-width: 1200px;
    margin: auto;
    
}


.page-text {
    color: white;
}

.controlpanel {
    border-radius: 10px;
    display: flex;
    justify-content: space-evenly;
    padding: 10px 0;
    margin-top: 20px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.2);
}

.rounded-button {
    background-color: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(51, 61, 255, 0.9);
    color: rgba(51, 61, 255, 0.9);
    border-radius: 30px;
    font-size: 14px;
    min-width: 260px;
    max-width: 300px;
    padding: 10px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

    .rounded-button i {
        color: rgba(51, 61, 255, 0.9);
        transition: color 0.3s ease;
    }

    .rounded-button:hover {
        background-color: rgba(51, 61, 255, 0.9);
        color: white;
    }

        .rounded-button:hover i {
            color: white;
        }

input[type="text"], input[type="email"], input[type="password"], textarea {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 10px;
    width: 100%;
    font-size: 14px;
    color: #212529;
}

.panel {
    background: #ffffff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

input[type="submit"] {
    background-color: #333;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 15px;
    transition: background-color 0.3s ease;
}

    input[type="submit"]:hover {
        background-color: #555;
    }

/* Poppins font */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Poppins Regular'), local('Poppins-Regular'), url('https://fonts.gstatic.com/s/poppins/v6/pxiEyp8kv8JHgFVrJJfecg.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F;
}

/* Bree Serif font */
@font-face {
    font-family: 'Bree Serif';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Bree Serif Regular'), local('BreeSerif-Regular'), url('https://fonts.gstatic.com/s/breeserif/v8/4UaHrEJCrhhnVA3DgluA96rp5w.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Bree Serif', serif;
}