/* Tab Navigation Styling */
:root {
    --yappy-purple: #5b0b99;
}


.custom-tabs {
    border-bottom: 2px solid #dee2e6;
    justify-content: center;
}

.custom-tabs .nav-item {
    margin-bottom: -2px;
}

.custom-tabs .nav-link {
    border: 2px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    color: var(--yappy-purple);
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    margin-right: 0.5rem;
    transition: all 0.3s ease;
    background-color: transparent;
}

.custom-tabs .nav-link:hover {
    color: var(--yappy-purple);
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

.custom-tabs .nav-link.active {
    color: #495057;
    background-color: #fff;
    border-color: #dee2e6 #dee2e6 #fff;
    border-bottom: 2px solid #fff;
}

/* Tab Content Styling */
.tab-content {
    padding: 0 0 2rem 0;
}

.character-content {
    padding: 0.5rem;
    /*background-color: #f8f9fa;*/
    border-radius: 0.5rem;
}

.character-content h3 {
    color: #495057;
    margin-bottom: 1rem;
    font-weight: 600;
}

.character-content p {
    color: #6c757d;
    margin-bottom: 0.5rem;
}

/* Character List Styling */

.character-row {
    display: flex;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.character-row:last-child {
    border-bottom: none;
}

.character-row:hover {
    background-color: #f8f9fa;
}

.character-icon {
    flex: 0 0 auto;
    margin-right: 1rem;
}

.dog-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: contain;
}

.add-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.character-name {
    flex: 1;
}

.character-name .name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--yappy-purple);
    margin-bottom: 0.25rem;
}

.character-name .timestamp {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 400;
}

.character-edit {
    flex: 0 0 auto;
}

.edit-link {
    color: var(--yappy-purple);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 2px solid #20c997;
    padding-bottom: 2px;
    transition: all 0.3s ease;
}

.edit-link:hover {
    color: var(--yappy-purple);
    border-bottom-color: #17a2b8;
}

.add-row {
    cursor: pointer;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #e9ecef !important;
}

.add-row:hover {
    background-color: #f8f9fa;
}

/* Responsive Design */
@media (max-width: 768px) {
    .custom-tabs .nav-link {
        padding: 0.5rem 1rem;
        margin-right: 0.25rem;
        font-size: 0.9rem;
    }
    
    .character-content {
        padding: 1.5rem;
    }
    
    .character-row {
        padding: 0.75rem 0;
    }
    
    .character-name .name {
        font-size: 1rem;
    }
    
    .character-name .timestamp {
        font-size: 0.75rem;
    }
    
    .dog-icon {
        width: 35px;
        height: 35px;
    }
    .add-icon {
        width: 35px;
        height: 35px;
    }
}
