/* Goals page specific styles */
.add-item-btn {
    position: fixed;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: #005288;
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 40;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.add-item-btn:hover {
    background: #0066cc;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

.goal-card {
    background: rgba(0, 82, 136, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.goal-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.goal-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.goal-card .date {
    color: #4a90e2;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.delete-btn {
    background: rgba(220, 38, 38, 0.1);
    color: #ef4444;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: auto;
}

.delete-btn:hover {
    background: rgba(220, 38, 38, 0.2);
}

/* Modal styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Form styles */
input[type="text"],
input[type="date"],
input[type="url"],
textarea {
    background: #2a2a2a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="url"]:focus,
textarea:focus {
    border-color: #4a90e2;
    outline: none;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

/* Active nav link */
.hover-underline.active {
    color: #4a90e2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .add-item-btn {
        right: 1rem;
        width: 42px;
        height: 42px;
    }
}
