* {
    margin: 0;
    padding: 0;
    box-sizing: border-box !important;
}

:root {
    --navbar-height: 75px;
}

html, body {
    height: 100vh;
}

body {
    display: block;
    background-color: antiquewhite;
    font-family: Tahoma, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    position: relative;
}

main.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-right: auto;
    margin-left: auto;
    margin-top: var(--navbar-height) !important;
    min-height: calc(100vh - var(--navbar-height));
}

body input[type="text"], #appMainContainer input[type="text"],
body input[type="email"], #appMainContainer input[type="email"],
body input[type="password"], #appMainContainer input[type="password"],
body textarea, #appMainContainer textarea {
    padding: 5px 15px;
    border-radius: 8px;
    border: #999 1px solid;
    width: 100%;
    height: auto;
    min-height: 25px;
}

.input-readonly {
    background-color: #f0f0f0;
    color: #666;
    cursor: not-allowed;
    border: 1px solid #ddd;
}

.btn-custom, #appMainContainer .btn-custom {
    width: 100% !important;
    padding: 5px 15px !important;
    background-color: #EEE !important;
    color: #333 !important;
    border-radius: 8px !important;
    font-size: 14px !important;
}

.btn-custom-secondary, #appMainContainer .btn-custom-secondary {
    width: 100% !important;
    padding: 5px 15px !important;
    background-color: #5D4037 !important;
    color: white !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    text-decoration: none;
}

.navbar {
    width: 100%;
    height: 75px;
    background-color: #5D4037;
    color: antiquewhite;
}

.navbar-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logout-btn {
    color: #d9534f;
}

#navUserControls .dropdown .dropdown-menu.dropdown-menu-end.show {
    min-width: 350px;
    right: 0;
    left: auto;
}

#userDropDownMenu li strong {
    width: 100%;
    padding: 0 10px 5px;
    margin-bottom: 5px;
    border-bottom: 1px solid #2d3748;
    display: block;
}

#btnLoginContainer {
    padding-right: 50px;
}

#btnLoginContainer a {
    text-decoration: none;
}

#btnHomeContainer {
    padding-left: 50px;
}

.alert-error {
    width: 75%;
    background-color: rgba(255, 0, 0, 0.25);
    padding: 20px;
    border: #000 1px solid;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.alert-success {
    width: 75%;
    background-color: rgba(0, 255, 0, 0.25);
    padding: 20px;
    border: #000 1px solid;
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.msg-errors {
    color: #E85F48;
    font-size: 12px;
}

.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #2ecc71;
    color: white;
    padding: 15px 25px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 2000;
    transition: opacity 0.5s ease;
}

.separator {
    margin: 15px 0;
}

.hidden {
    display: none;
}

.form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    row-gap: 25px;
}

.fields-container {
    display: flex;
    column-gap: 25px;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
}
