/* Profile Page Styling - PashuCare Theme */
body {
    background: linear-gradient(rgba(255, 243, 217, 0.3), rgba(255, 243, 217, 0.8)), 
                url('assests/bgimg.png');
    background-size: cover;
    background-attachment: fixed;
    font-family: 'Tiro Devanagari Hindi', serif;
}

.profile-main {
    margin-top: 80px;
    padding: 40px 20px;
    min-height: calc(100vh - 80px);
}

.profile-container {
    max-width: 1000px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.profile-header {
    background: linear-gradient(135deg, #1a237e, #3f51b5);
    color: white;
    padding: 30px 40px;
    text-align: center;
}

.profile-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.profile-tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.tab-btn {
    padding: 12px 25px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tiro Devanagari Hindi', serif;
    font-size: 16px;
}

.tab-btn.active {
    background: white;
    color: #1a237e;
    border-color: white;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.profile-tab {
    display: none;
    padding: 40px;
}

.profile-tab.active {
    display: block;
}

.profile-card {
    max-width: 800px;
    margin: 0 auto;
}

.profile-photo-section {
    text-align: center;
    margin-bottom: 40px;
}

.photo-container {
    position: relative;
    display: inline-block;
}

.photo-container img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #1a237e;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.photo-upload {
    margin-top: 15px;
}

.photo-upload input[type="file"] {
    display: none;
}

.photo-upload label {
    background: linear-gradient(135deg, #1a237e, #3f51b5);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.photo-upload label:hover {
    background: linear-gradient(135deg, #3f51b5, #1a237e);
    transform: translateY(-2px);
}

.profile-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.input-group {
    flex: 1;
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.input-group input,
.input-group select,
.input-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    font-family: 'Tiro Devanagari Hindi', serif;
}

.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
    border-color: #1a237e;
    box-shadow: 0 0 10px rgba(26, 35, 126, 0.1);
}

.input-group textarea {
    resize: vertical;
    min-height: 80px;
}

.save-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Tiro Devanagari Hindi', serif;
    margin-top: 20px;
}

.save-btn:hover {
    background: linear-gradient(135deg, #45a049, #4caf50);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}

.success-message {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

.error-message {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: white;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-main {
        padding: 20px 10px;
    }
    
    .profile-header {
        padding: 20px;
    }
    
    .profile-header h1 {
        font-size: 2rem;
    }
    
    .profile-tabs {
        flex-direction: column;
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .profile-tab {
        padding: 20px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .photo-container img {
        width: 120px;
        height: 120px;
    }
}

@media (max-width: 480px) {
    .profile-header h1 {
        font-size: 1.8rem;
    }
    
    .profile-form {
        padding: 20px;
    }
    
    .input-group input,
    .input-group select,
    .input-group textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .save-btn {
        font-size: 16px;
    }
}