/* Homepage Styles */
.page {
    width: 100%;
}



.homepage-content {
   // max-width: 800px;
    margin: 0 auto;
    padding: 0rem;
}

.welcome-section {
    text-align: center;
    margin-bottom: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid hsl(var(--light-green));
}

.welcome-section h2 {
    color: hsl(var(--primary-green));
    margin-bottom: 0.75rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.welcome-section .description {
    font-size: 0.95rem;
    color: hsl(var(--text-light));
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
input{
    font-family: "Playfair Display";
}
button{
    font-family: "Playfair Display";
}
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    min-width: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: white;
    color: hsl(var(--text-dark));
    border: 2px solid hsl(var(--light-green));
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    position: relative;
    background: white;
    border-radius: 10px;
    border: 2px solid lightgreen;
    font-family: "Playfair Display";
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(107, 142, 107, 0.2);
    border-color: hsl(var(--primary-green));
}

.btn-large:active {
    transform: translateY(0);
    box-shadow: var(--shadow-sm);
}

.btn-large .icon {
    font-size: 1.2rem;
    font-weight: bold;
}

.btn-large.create-btn .icon {
    color: hsl(var(--primary-green));
}

.btn-large.favorites-btn .icon {
    color: hsl(var(--error-red));
}

/* Icon styling for mobile compatibility */
.btn-large .icon {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.2em;
    margin-right: 8px;
}

.badge {
    background: hsl(var(--error-red));
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    margin-left: 0.5rem;
    min-width: 1.5rem;
    text-align: center;
}

.saved-compositions {
    margin-top: 1rem;
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid hsl(var(--light-green));
}

.saved-compositions h3 {
    color: hsl(var(--primary-green));
    margin-bottom: 1rem;
    text-align: center;
    font-size: 1.2rem;
}

.no-compositions {
    text-align: center;
    color: hsl(var(--text-light));
    font-style: italic;
    padding: 1.5rem;
    background: hsl(var(--beige));
    border-radius: var(--radius-md);
    font-size: 0.9rem;
}

.composition-card {
    background: hsl(var(--warm-white));
    border-radius: var(--radius-md);
    padding: 1rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid hsl(var(--light-green));
    transition: all 0.2s ease;
}

.composition-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    border-color: hsl(var(--primary-green));
}

.composition-header {
    margin-bottom: 0.75rem;
    border-bottom: 1px solid hsl(var(--beige));
    padding-bottom: 0.75rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.composition-header h4 {
    color: hsl(var(--primary-green));
    margin: 0;
    font-size: 1.1rem;
    flex: 1;
}

.delete-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.5rem;
    white-space: nowrap;
    border: 1px solid #dc3545;
    color: #dc3545;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.delete-btn:hover {
    background: #dc3545;
    color: white;
}

.delete-btn i {
    margin-right: 0.25rem;
}

.composition-details p {
    margin: 0.4rem 0;
    color: hsl(var(--text-dark));
    font-size: 0.9rem;
}

.composition-details strong {
    color: hsl(var(--earth-brown));
}

.composition-date {
    color: hsl(var(--text-light)) !important;
    font-size: 0.8rem !important;
    margin-top: 0.75rem !important;
    border-top: 1px solid hsl(var(--beige));
    padding-top: 0.4rem !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-large {
        width: 100%;
        max-width: 300px;
    }

    .composition-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }




}