/**
 * Dog Profile Styles - PsiaPsi Dog Profiles plugin
 */

/* Common styles for both account and public profiles */
.dog-profile-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.dog-profile-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.dog-profile-header-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
}

.dog-profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 30px;
    flex-shrink: 0;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.dog-profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dog-profile-info {
    flex-grow: 1;
}

.dog-profile-info h1 {
    margin: 0 0 10px;
    font-size: 28px;
    color: #333;
}

.dog-profile-info .dog-breed {
    margin: 0 0 15px;
    font-size: 18px;
    color: #666;
}

.dog-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.dog-attribute {
    background: #f7f7f7;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #555;
}

.dog-profile-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.dog-profile-actions .button {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.dog-profile-actions .button:hover {
    background: #e5e5e5;
}

.dog-profile-actions .dashicons {
    margin-right: 5px;
}

.dog-profile-section {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    margin-bottom: 25px;
}

.dog-profile-section h2 {
    margin: 0 0 20px;
    font-size: 22px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.health-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.health-category-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.health-category-item h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #444;
}

.health-points-bar {
    margin-top: 15px;
}

.points-bar {
    height: 15px;
    background: #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 8px;
}

.points-value {
    height: 100%;
    background: linear-gradient(90deg, #8bc34a, #4caf50);
    border-radius: 10px;
    color: white;
    text-align: right;
    font-size: 12px;
    line-height: 15px;
    padding-right: 5px;
}

.points-label {
    font-size: 14px;
    color: #666;
}

.health-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.health-detail-item {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
}

.health-detail-item h3 {
    margin: 0 0 10px;
    font-size: 18px;
    color: #444;
}

.health-detail-item ul {
    margin: 0;
    padding-left: 20px;
}

.health-detail-item li {
    margin-bottom: 5px;
}

/* Back to dogs link */
.back-to-dogs {
    margin-bottom: 20px;
}

.back-to-dogs a {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    background: #f0f0f0;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    border: 1px solid #ddd;
    transition: all 0.2s ease;
}

.back-to-dogs a:hover {
    background: #e5e5e5;
}

.back-to-dogs .dashicons {
    margin-right: 5px;
}

/* Public page specific styles */
.dog-profile-page {
    padding: 40px 20px;
}

.dog-profile-page .entry-header {
    text-align: center;
    margin-bottom: 30px;
}

.dog-profile-page .entry-title {
    font-size: 32px;
    margin: 0 0 15px;
}

/* Responsive styles */
@media (max-width: 768px) {
    .dog-profile-header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .dog-profile-image {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .health-categories-grid,
    .health-details-grid {
        grid-template-columns: 1fr;
    }
} 