/* Link in Bio View - Mobile-First Public Page Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #212529;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 2rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-container {
    max-width: 400px;
    width: 100%;
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.bio-profile {
    margin-bottom: 2rem;
}

.bio-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #4a90e2;
    display: block;
}

.bio-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #212529;
    margin-bottom: 0.5rem;
}

.bio-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
    margin: 0 auto 0.5rem;
}

.bio-location {
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.bio-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.bio-link {
    display: block;
    background-color: #4a90e2;
    color: white;
    text-decoration: none;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
    word-wrap: break-word;
}

.bio-link:hover {
    background-color: #357abd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bio-link:active {
    transform: translateY(0);
}

.bio-link.link-primary {
    background-color: #357abd;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(53, 122, 189, 0.3);
}

.bio-link.link-primary:hover {
    background-color: #2a6399;
    box-shadow: 0 4px 12px rgba(53, 122, 189, 0.4);
}

.bio-section-heading {
    font-size: 0.85rem;
    font-weight: 600;
    color: #6c757d;
    margin: 1.5rem 0 0.75rem 0;
    text-align: left;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bio-link .link-icon {
    margin-right: 0.5rem;
    font-size: 1.2em;
}

.error-message {
    color: #dc3545;
    padding: 1rem;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin: 1rem 0;
}

/* Button Styles */
.bio-link.button-style-rounded {
    border-radius: 12px;
}

.bio-link.button-style-pill {
    border-radius: 50px;
}

.bio-link.button-style-outline {
    background-color: transparent;
    border: 2px solid #4a90e2;
    color: #4a90e2;
}

.bio-link.button-style-outline:hover {
    background-color: #4a90e2;
    color: white;
}

.bio-link.button-style-outline.link-primary {
    border-color: #357abd;
    color: #357abd;
}

.bio-link.button-style-outline.link-primary:hover {
    background-color: #357abd;
    color: white;
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        padding: 1rem 0.5rem;
    }
    
    .bio-container {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .bio-name {
        font-size: 1.25rem;
    }
    
    .bio-text {
        font-size: 0.9rem;
    }
    
    .bio-link {
        padding: 0.875rem 1.25rem;
        font-size: 0.95rem;
    }
}

/* Loading State */
.loading {
    text-align: center;
    padding: 3rem 2rem;
    color: #6c757d;
    font-size: 1.1rem;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
    0%, 20% {
        content: '.';
    }
    40% {
        content: '..';
    }
    60%, 100% {
        content: '...';
    }
}
