@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:wdth@95&family=Roboto+Condensed&display=swap');

:root {
    --background-primary: #D9D9D9;
    --background-secondary: #d4d4d4;
    --font-primary: #1a1a1a;
    --font-secondary: #535353;
    --border-color: #c7c7c7;
    --icons-color: #1a1a1a;
}

:root.dark {
    --background-primary: #1a1a1a;
    --background-secondary: #202020;
    --font-primary: #D9D9D9;
    --font-secondary: #535353;
    --border-color: #282828;
    --icons-color: #D9D9D9;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: "Noto Sans", sans-serif;
}

svg {
    fill: var(--icons-color);
}

html, body {
    height: 100% !important;
}

body {
    background-color: var(--background-primary);
}

.modal-overlay {
    position: fixed;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
    z-index: 2;
}

.modal-overlay-close {
    width: 100%;
    height: 100%;
}

.modal-container {
    width: 100%;
    padding: 1rem;
    background: var(--background-primary);
    border-radius: 1rem 1rem 0rem 0rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-button {
    width: 100%;
    padding: 0.5rem 1rem;
    background: var(--background-secondary);
    border-radius: 0.5rem;
    border: var(--border-color) solid 1px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #00000080; 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1; 
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #ffffff4d; 
    border-top: 4px solid white; 
    border-radius: 50%; 
    animation: spin 1s linear infinite; 
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
} 

.refresh-container {
    text-align: center;
    color: var(--font-secondary);
    display: none;
}

a {
    color: var(--icons-color);
}

.title {
    width: 100%;
    margin-bottom: 0.5rem;
    font-size: 20px;
    font-weight: 600;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    color: var(--font-primary);
    background-color: var(--background-secondary);
    width: 100%;
    padding: 0.5rem;
    border-radius: 10px;
    border: solid  var(--border-color) 1px;
    outline: none;
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
textarea::placeholder {
    color: var(--font-secondary);
}

textarea {
    resize: none;
}

.label-button {
    border: none;
}

.label-button:hover {
    cursor: pointer;
}

.button {
    background-color: var(--font-primary);
    color: var(--background-primary);
    padding: 0.5rem 1rem;
    border: solid  var(--border-color) 1px;
    border-radius: 10px;
}

.button:hover {
    cursor: pointer;
}
