

/* Author Profile Card Styles */

.favauthors{
    gap: 20px;
}
.author-profile-card {
    background: var(--secondarycolor);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid var(--primarycolor);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 350px;
    width: 100%;
}

.author-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(244, 162, 97, 0.4);
}

.author-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(244, 162, 97, 0.3);
}

.author-avatar {
    position: relative;
    flex-shrink: 0;
}

.author-avatar img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primarycolor);
    transition: border-color 0.3s ease;
}

.author-status-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: var(--gradient);
    color: var(--text-black);
    font-size: 1rem;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: bold;
    border: 2px solid var(--secondarycolor);
}

.author-info {
    flex: 1;
    min-width: 0;
}

.author-name {
    color: var(--text-white);
    font-size: 1.8rem;
    margin: 0 0 5px 0;
    font-weight: bold;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.author-email {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    margin: 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.author-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    background: rgba(244, 162, 97, 0.1);
    border-radius: 10px;
    padding: 15px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-number {
    color: var(--primarycolor);
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-white);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

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

.author-profile-btn,
.author-subscribe-btn {
    flex: 1;
    min-width: 120px;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 1.4rem;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.author-profile-btn {
    background: var(--gradient);
    color: var(--text-black);
}

.author-profile-btn:hover {
    transform: scale(0.98);
    box-shadow: 0 4px 15px rgba(244, 162, 97, 0.4);
    color: var(--text-black);
    text-decoration: none;
}

.author-subscribe-btn {
    background: transparent;
    color: var(--primarycolor);
    border: 2px solid var(--primarycolor);
}

.author-subscribe-btn:hover {
    background: var(--primarycolor);
    color: var(--text-black);
    transform: scale(0.98);
}

.author-subscribe-btn.subscribed {
    background: var(--primarycolor);
    color: var(--text-black);
    cursor: not-allowed;
    opacity: 0.8;
}

.author-subscribe-btn.subscribed:hover {
    transform: none;
    background: var(--primarycolor);
}

/* Tablet and smaller screens - 768px */
@media screen and (max-width: 768px) {
    .author-profile-card {
        max-width: 100%;
        margin: 15px 0;
        padding: 15px;
    }
    
    .author-header {
        gap: 12px;
    }
    
    .author-avatar img {
        width: 60px;
        height: 60px;
    }
    
    .author-name {
        font-size: 1.6rem;
    }
    
    .author-email {
        font-size: 1.2rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 1.1rem;
    }
    
    .author-actions {
        flex-direction: column;
    }
    
    .author-profile-btn,
    .author-subscribe-btn {
        min-width: 100%;
        font-size: 1.3rem;
    }
}

/* Mobile screens - 375px */
@media screen and (max-width: 375px) {
    .author-stats {
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-label {
        font-size: 1rem;
    }
    
    .author-name {
        font-size: 1.5rem;
    }
    
    .author-email {
        font-size: 1.1rem;
    }
    
    .author-profile-btn,
    .author-subscribe-btn {
        font-size: 1.2rem;
        padding: 10px 14px;
    }
}