@import url('https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Cursive:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200..1000;1,200..1000&display=swap');

body {
    background-color: #638086;
}

.body {
    width: auto;
    height: 100vh;
    margin: 0px auto;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
    background-color: #FFFDE7;
    font-weight: bold;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

/* Overlay */
#sidebarOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 998;
    display: none;
}

/* Sidebar */
#appSidebar {
    position: fixed;
    top: 0;
    left: -320px;
    width: 320px;
    height: 100%;
    background: #ffffff;
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.15);
}

/* Active State */
#appSidebar.active {
    left: 0;
}

/* Header */
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ddd;
}

/* Close button */
.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #00404d;
}

/* Content */
.sidebar-content {
    padding: 15px;
}


.navbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 10px 10px;

}

.logo {
    font-family: "Edu NSW ACT Cursive", cursive;
    font-optical-sizing: auto;
    font-weight: bold;
}

.taskbar {
    width: 100%;
    border-top: 1px solid gray;
    display: flex;
    padding: 5px 0px;
    justify-content: space-around;
}

.taskbar button {
    background-color: transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
}

.month-slider-container {
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
}

.month-slider-container button {
    background-color: transparent;
    border: none;

}


.content-section {
    display: none;

}

.content-section.active {
    display: block;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
}


.btns {
    font-size: 8px;
}

.modal-dialog * {
    color: #00404d;
    font-family: "Nunito", sans-serif;
    font-optical-sizing: auto;
}

.calc .row .col {
    font-weight: bold;
    border: 1px solid #00404d;
    display: flex;
    margin: 2px;
    padding: 5px;
    border-radius: 10px;
    align-items: center;
    justify-content: center;
}

.symbol {
    background-color: #00404d;
    color: white;
}

#searchScreen {
    animation: fadeIn .2s ease;
}

.icon-div {
    background-color: rgb(232, 241, 255);
    width: 40px;
    height: 40px;
    padding: 5px;
    border-radius: 50%;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.filters .form-check-label {
    font-size: smaller;
}

.category-menu {
    position: absolute;
    right: 0;
    top: 28px;
    background: #fff;
    border-radius: 6px;
    display: none;
    min-width: 120px;
    z-index: 1000;
}

.category-menu button {
    width: 100%;
    padding: 6px 10px;
    border: none;
    background: none;
    text-align: left;
    font-size: 13px;
}

.category-menu button:hover {
    background: #f5f5f5;
}

.category-row.ignored {
    opacity: 0.5;
}

.category-row.ignored .category-name {
    text-decoration: line-through;
}

.accounts-row.ignored {
    opacity: 0.5;
}

.accounts-row.ignored .account-name {
    text-decoration: line-through;
}

.modal-backdrop-custom {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .4);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-box {
    background: #fff;
    width: 300px;
    padding: 15px;
    border-radius: 10px;
}

.icon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.icon-grid i {
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    text-align: center;
    color: #00404d;
    border: 2px solid transparent;
}

.icon-grid i:hover {
    background: #e0f2f1;
}

.icon-grid i.selected {
    padding: 10px;
    width: 30px;
    height: 30px;
    /* background: #00404d; */
    color: rgb(105, 237, 255);
    /* border-color: #00404d; */
}

.view-settings {
  position: absolute;
  right: 5%;
  margin-top: 300px;
  width: 90%;
  background: #FFFDE7;
  z-index: 999;
  border-radius: 12px;
}

/* Row layout */
.settings-row {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

/* Left labels */
.settings-label {
  width: 35%;
  font-size: 13px;
  font-weight: bold;
  color: #00404d;
}

/* Right options */
.settings-options {
  width: 65%;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* Hide real radios */
.settings-options input[type="radio"] {
  display: none;
}

/* Button-style options */
.settings-options label {
  padding: 6px 10px;
  border-radius: 16px;
  border: 1.5px solid #00404d;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
  color: #00404d;
  transition: all 0.2s ease;
}

/* Selected state */
.settings-options input[type="radio"]:checked + label {
  background: #00404d;
  color: #fff;
}
