.bird-detail-container {
    max-width: 800px;
    margin: 0 auto;
}

.header-card {
    margin-bottom: 20px;
    text-align: center;

    .scientific-name {
        display: block;
        font-style: italic;
        font-size: 0.8em;
        color: var(--ion-color-medium);
    }
}

.conservation-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: var(--ion-color-success);
    color: white;
    font-size: 0.8em;
    margin-bottom: 12px;

    &.endangered {
        background-color: var(--ion-color-danger);
    }
}

.description {
    text-align: justify;
    line-height: 1.6;
}

.info-grid {
    background: var(--ion-color-light);
    border-radius: 12px;
    margin-bottom: 20px;

    ion-item {
        --inner-padding-end: 0;
        --padding-start: 0;
    }
}

.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50vh;

    ion-spinner {
        width: 48px;
        height: 48px;
    }

    p {
        margin-top: 16px;
        color: var(--ion-color-medium);
    }
}

ion-card {
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);

    ion-card-header {
        padding-bottom: 0;

        ion-card-title {
            font-size: 1.2em;
        }
    }

    ion-card-content {
        p {
            margin-bottom: 12px;
            line-height: 1.6;

            &:last-child {
                margin-bottom: 0;
            }
        }
    }
}