/* Seller Profile CSS */

/* General Styles */
body {
    font-family: "Poppins", sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Header Styles (from Login.php) */
header {
    background-color: #a1e66f;
}

nav a.nav-link {
    position: relative;
    padding-bottom: 2px;
    transition: all 0.3s ease;
    color: #fff;
}

nav a.nav-link::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

nav a.nav-link:hover::after {
    width: 100%;
}

.logo-circle {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-circle img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 50%;
}

/* Profile Container */
.profile-container {
    min-height: calc(100vh - 200px);
}

/* Sidebar */
.profile-sidebar {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-left: 4px solid #7FD47F;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    background-color: #7FD47F;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 40px;
    color: white;
}

.profile-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.sidebar-link:hover {
    background-color: #f0f7eb;
    color: #7FD47F;
}

.sidebar-link.active {
    background-color: #7FD47F;
    color: white;
}

.sidebar-link i {
    font-size: 18px;
    width: 24px;
    text-align: center;
}

/* Profile Content */
.profile-title {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.profile-section {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid #7FD47F;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 15px;
}

.section-header h3 {
    font-weight: 600;
    color: #333;
    margin: 0;
}

.btn-edit {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #7FD47F;
    padding: 8px 15px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-edit:hover {
    background-color: #7FD47F;
    color: white;
    border-color: #7FD47F;
}

/* Profile Information Grid */
.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.info-item {
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #7FD47F;
}

.info-item label {
    font-weight: 600;
    color: #555;
    font-size: 14px;
    margin-bottom: 5px;
    display: block;
}

.info-value {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* Edit Controls */
.edit-input {
    margin-top: 5px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
}

.edit-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-save {
    background-color: #7FD47F;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-save:hover {
    background-color: #6FC46F;
    color: white;
}

.btn-cancel {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #6c757d;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
}

.btn-cancel:hover {
    background-color: #e9ecef;
}

/* Statistics Cards */
.stat-card {
    background-color: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease;
    border-top: 4px solid #7FD47F;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background-color: #f0f7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #7FD47F;
}

.stat-card h4 {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
    font-size: 32px;
}

.stat-card p {
    color: #6c757d;
    margin: 0;
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #7FD47F;
}

.activity-icon {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #7FD47F;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-content h6 {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.activity-content p {
    color: #6c757d;
    margin-bottom: 5px;
    font-size: 14px;
}

/* Footer Styles (from Login.php) */
footer {
    background-color: #a1e66f;
    color: #000;
    padding: 40px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer a {
    color: #000;
    text-decoration: none;
    margin: 0 10px;
}

footer .social-icons i {
    font-size: 22px;
    margin: 0 5px;
    color: black;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .sidebar-nav {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .sidebar-link {
        padding: 8px 12px;
        font-size: 14px;
    }
}