/* Day I Was Born Tool Styles */

/* Form Styles */
.form-label {
    font-weight: 500;
}

/* Birthday Header */
.birthday-header {
    text-align: center;
    padding: 1.5rem 0;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.birthday-header h2 {
    color: #0d6efd;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Timeline Styles */
.timeline {
    position: relative;
    padding: 1rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #e9ecef;
    top: 0;
    bottom: 0;
    left: 20px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-badge {
    position: absolute;
    left: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    background-color: #0d6efd;
    color: white;
    z-index: 1;
}

.timeline-content {
    padding: 1.25rem;
    background-color: white;
    border-radius: 0.5rem;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border-left: 4px solid #0d6efd;
}

.timeline-year {
    font-weight: bold;
    color: #0d6efd;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.timeline-description {
    margin-bottom: 0;
}

/* Person Card Styles */
.person-card {
    height: 100%;
    transition: transform 0.2s;
}

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

.person-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-top-left-radius: calc(0.375rem - 1px);
    border-top-right-radius: calc(0.375rem - 1px);
}

.person-image-placeholder {
    width: 100%;
    height: 200px;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
    border-top-left-radius: calc(0.375rem - 1px);
    border-top-right-radius: calc(0.375rem - 1px);
}

.person-year {
    font-weight: bold;
    color: #0d6efd;
}

.person-name {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

/* Share Buttons */
.share-section {
    text-align: center;
    padding: 1.5rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

.share-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Loading Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse-animation {
    animation: pulse 1.5s infinite;
}

/* Add to your existing CSS */
.person-card {
    transition: transform 0.2s;
    border: 1px solid rgba(0,0,0,0.125);
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}

.person-year {
    color: #0d6efd;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.person-text {
    color: #444;
    line-height: 1.6;
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .birthday-header h2 {
        font-size: 1.75rem;
    }
    
    .share-buttons .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .timeline::before {
        left: 15px;
    }
    
    .timeline-badge {
        width: 30px;
        height: 30px;
        line-height: 30px;
        font-size: 0.75rem;
    }
    
    .timeline-item {
        padding-left: 2.5rem;
    }
}
