@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background: linear-gradient(135deg, #FADADD 0%, #E6E6FA 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
}

h1 {
    text-align: center;
    color: #6B5B95;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.form-container {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: #6B5B95;
    font-weight: 600;
}

input,
textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #E6E6FA;
    border-radius: 10px;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: #AEEEEE;
}

textarea {
    resize: vertical;
    min-height: 80px;
}

.money-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

button {
    background: linear-gradient(135deg, #B0E0A8 0%, #AEEEEE 100%);
    color: #2C5F2D;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-add {
    width: 100%;
    margin-top: 10px;
}

.goals-container {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.goal-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-left: 6px solid;
    transition: transform 0.2s;
}

.goal-card:hover {
    transform: translateY(-5px);
}

.goal-card.pastel-1 {
    border-left-color: #FADADD;
}

.goal-card.pastel-2 {
    border-left-color: #AEEEEE;
}

.goal-card.pastel-3 {
    border-left-color: #B0E0A8;
}

.goal-card.pastel-4 {
    border-left-color: #FFF5BA;
}

.goal-card.pastel-5 {
    border-left-color: #E6E6FA;
}

.goal-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.goal-title {
    font-size: 1.4em;
    color: #6B5B95;
    font-weight: 600;
}

.goal-date {
    background: #E6E6FA;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.9em;
    color: #6B5B95;
    white-space: nowrap;
}

.goal-description {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.goal-money {
    background: linear-gradient(135deg, #FFF5BA 0%, #FADADD 50%, #AEEEEE 100%);
    padding: 15px;
    border-radius: 15px;
    margin-bottom: 15px;
}

.money-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.money-label {
    color: #6B5B95;
    font-weight: 600;
}

.money-value {
    color: #2C5F2D;
    font-weight: 600;
}

.money-missing {
    color: #D35400;
}

.goal-actions {
    display: flex;
    gap: 10px;
}

.btn-edit {
    background: linear-gradient(135deg, #AEEEEE 0%, #E6E6FA 100%);
    color: #2C5F2D;
    flex: 1;
}

.btn-delete {
    background: linear-gradient(135deg, #FADADD 0%, #FFB6C1 100%);
    color: #8B0000;
    flex: 1;
}

.motivation-footer {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.motivation-quote {
    font-size: 1.3em;
    color: #6B5B95;
    font-style: italic;
    line-height: 1.6;
}

.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #999;
    font-size: 1.1em;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8em;
    }

    .money-inputs {
        grid-template-columns: 1fr;
    }

    .goal-header {
        flex-direction: column;
        gap: 10px;
    }
}