/* Stili specifici per la pagina focus.html */

/* Stili per il link del titolo nell'header */
.header-app-title-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease-in-out;
}

.header-app-title-link:hover {
    opacity: 0.8;
}


#daily-goals-section {
    background: #ffffff;
    padding: 1.5em;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    margin-top: 2em;
    text-align: center;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

#daily-goals-section h2 {
    color: #4CAF50;
    margin-top: 0;
    margin-bottom: 1.5em;
    font-size: 1.8em;
}

.goal-input-area {
    display: flex;
    gap: 10px;
    margin-bottom: 1.5em;
    justify-content: center;
    flex-wrap: wrap;
}

#new-goal-text {
    flex-grow: 1;
    padding: 0.8em;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    max-width: 70%;
    box-sizing: border-box;
}

#add-goal-btn {
    background-color: #f7a233;
    color: white;
    border: none;
    padding: 0.8em 1.5em;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s ease-in-out;
}

#add-goal-btn:hover {
    background-color: #e08c24;
}

#goal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.goal-item {
    background: #f9f9f9;
    border: 1px solid #eee;
    padding: 0.8em 1em;
    margin-bottom: 0.5em;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 1.1em;
    box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.goal-item.completed {
    background: #e6ffe6;
    text-decoration: line-through;
    color: #888;
    border-color: #a0d9a0;
}

.goal-item-text {
    flex-grow: 1;
    word-break: break-word;
    margin-right: 10px;
}

.goal-actions {
    display: flex;
    gap: 5px;
    flex-shrink: 0;
}

.goal-actions button {
    background: none;
    border: none;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0.2em;
    line-height: 1;
    transition: transform 0.1s ease-in-out;
}

.goal-actions button:hover {
    transform: scale(1.1);
}

.goal-actions .complete-btn {
    color: #28a745;
}

.goal-actions .delete-btn {
    color: #dc3545;
}


#goal-feedback {
    background: #e0f2f7;
    padding: 1.5em;
    border-radius: 10px;
    margin: 2em auto;
    max-width: 400px;
    color: #0056b3;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    text-align: center;
}

#goal-feedback p {
    margin-top: 0;
    margin-bottom: 1em;
    font-size: 1.2em;
}

#mini-emotion-wheel {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8em;
}

#mini-emotion-wheel .emotion {
    width: 60px;
    height: 60px;
    font-size: 2.2em;
    padding: 0.8em;
}

.navigation-section {
    margin-top: 2em;
    text-align: center;
}

#back-to-main-btn {
    background-color: #6EC1E4; /* Cambiato da grigio a blu del tema */
    color: white;
    border: none;
    padding: 0.8em 1.5em;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Aggiunta ombra per abbinarsi agli altri pulsanti principali */
}

#back-to-main-btn:hover {
    background-color: #5AAAD0; /* Blu leggermente più scuro al passaggio del mouse */
}


/* Media Queries per schermi più piccoli */
@media (max-width: 600px) {
    #daily-goals-section {
        padding: 1em;
        margin-top: 1.5em;
    }

    #new-goal-text {
        width: 100%;
        max-width: none;
        margin-bottom: 10px;
    }
    
    .goal-input-area {
        flex-direction: column;
        gap: 0;
    }

    #add-goal-btn {
        width: 100%;
        margin-bottom: 1em;
    }

    .goal-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .goal-item-text {
        margin-bottom: 0.5em;
        margin-right: 0;
    }

    .goal-actions {
        width: 100%;
        justify-content: flex-end;
    }

    #goal-feedback {
        padding: 1em;
    }

    #mini-emotion-wheel .emotion {
        width: 50px;
        height: 50px;
        font-size: 2em;
    }
}