
* {
    font-family: 'Fira Sans', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    color: #F2F2F2;
    min-height: 100vh;                  
    background: radial-gradient(circle at top left, rgba(179,136,255,0.15), transparent 50%),
        radial-gradient(circle at bottom right, rgba(0,229,195,0.15), transparent 50%),
        #1C1C1E;
    display: flex;                  
    flex-direction: column;         
}


.container {
    width: 100%;             
    margin: 0;               
    padding: 10px 20px;     
    display: flex;
    justify-content: space-between;
    align-items: center;
}

  
.name {
    font-size: 35px;
    font-weight: bold;
    margin: 0px 50px 0 0;
}
  
.nav > a {
    text-decoration: none;
    margin-left: 20px;
    transition: color 0.3s;
}



.calendar-container {
    background: #2A2A2C;
    margin: 0px auto;
    padding: 25px 30px;
    width: 90%;
    max-width: 1300px;
    border-radius: 16px;
    box-shadow: 0 0 10px rgba(95, 209, 255, 0.2);
    transform: scale(0.92);
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.month-year {
    text-align: center;
}

.month {
    font-size: 2.5rem;
    font-weight: 700;
}

.year {
    font-size: 1.6rem;
    font-weight: 600;
}

.nav-arrow {
    font-size: 2.2rem;
    background: none;
    border: none;
    color: #00E5C3;
    cursor: pointer;
    transition: color 0.3s;
}


.nav-arrow:hover {
    color: #90c0d1;
    transform: scale(1.10);
}

.calendar-weekdays, .calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    text-align: center;
}

.calendar-weekdays > div {
    font-weight: bold;
    color: #F2F2F2;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

.calendar-days > div {
    padding: 12px 0;
    margin-top: 10px;
    border: black solid 1px;
    border-radius: 10px;
    transition: background 0.3s ease;
    font-weight: 500;
}

.calendar-days > div:hover {
    background-color: #3a3a3d;
    cursor: pointer;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.xday{
    background-color: #B388FF;
    padding: 12px;
    border-radius: 10px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: background 0.3s;
}
.xday:hover {
    background-color: #3a3a3d;
    cursor: pointer;
    transform: translateY(-4px);
}
  
.xday > p {
    font-weight: bold;
    color: #F2F2F2;
    margin-bottom: 6px;
}

.xday > p:not(:first-child) {
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 5px;
    padding: 3px 5px;
    font-weight: 500;
    text-align: left;
    font-size: 0.8em;
    text-align: center;
}

.day {
    background-color: #1C1C1E;
    padding: 12px;
    border-radius: 10px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: background 0.3s;
}
  
.day:hover {
    background-color: #3a3a3d;
    cursor: pointer;
    transform: translateY(-4px);
}
  
.day > p {
    font-weight: bold;
    color: #F2F2F2;
    margin-bottom: 6px;
}
  
.day > p:not(:first-child) {
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 5px;
    padding: 3px 5px;
    font-weight: 500;
    text-align: left;
    font-size: 0.8em;
    text-align: center;
}

.notday {
    background-color: #37373a;
    padding: 12px;
    border-radius: 10px;
    min-height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    transition: background 0.3s;
}
  
.notday:hover {
    background-color: #3a3a3d;
    cursor: pointer;
    transform: translateY(-4px);
}
  
.notday > p {
    font-weight: bold;
    color: #F2F2F2;
    margin-bottom: 6px;
}
  
.notday > p:not(:first-child) {
    background: rgba(255, 255, 255, 0.1); 
    border-radius: 5px;
    padding: 3px 5px;
    font-weight: 500;
    text-align: left;
    font-size: 0.8em;
    text-align: center;
}

.task {
    font-size: 0.85rem;
    background-color: #2A2A2C;
    color: #00E5C3;
    padding: 4px 8px;
    border-radius: 6px;
    text-align: center;
    width: 100%;
    overflow-wrap: break-word;
}

#app-footer {
    margin-top: auto;    
    padding: 15px 10px;
    text-align: center;
}

#app-footer > p {
    text-decoration: underline 2px solid #B388FF;
    text-underline-offset: 8px;
    margin: 0;
}


#aNotCurrentPage {
    text-decoration: none;
    color: #aaa;
    padding: 8px 12px;
    border-radius: 8px;
}
  
#aNotCurrentPage:hover {
    background-color: #00e5c3ec;
    color: black;
    border-radius: 15px;
    transform: translateY(-4px);
    transition: background 0.3s;
}
  
#aCurrentPage {
    color: #fff;
    font-weight: bold;
}

.btn-secondary {
    margin: 5px;
    padding: 9px;
    border-radius: 20px;
    border: none;
    width: 120px;
    color: #1C1C1E;
    cursor: pointer;
    text-decoration: none;
    background-color: #00E5C3;
}

.btn-secondary:hover {
    background-color: #90c0d1;
    transform: scale(1.05);
}