/* 
   Stylo Aesthetic - Account & UI Redesign
   Modern, soft pastel colors, large rounded corners, diffused shadows.
*/

:root {
    --stylo-bg: #fdf7f2; /* Soft pastel cream/peach */
    --stylo-card-bg: #ffffff;
    --stylo-primary: #f27a5e; /* Coral/orange accent */
    --stylo-primary-hover: #e0654b;
    --stylo-text-main: #2d2d2d;
    --stylo-text-muted: #8c8c8c;
    --stylo-border-radius: 20px;
    --stylo-card-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    --stylo-nav-hover: #fcfcfc;
}

/* Base Body Application for Account Pages (can be applied via a wrapper or body class) */
body.stylo-theme {
    background-color: var(--stylo-bg) !important;
}

/* Account Layout Container */
.stylo-account-section {
    padding: 40px 15px;
    background-color: var(--stylo-bg);
    min-height: calc(100vh - 200px);
    font-family: 'Inter', 'Poppins', sans-serif;
}

.stylo-account-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    gap: 30px;
}

/* Sidebar Styling */
.stylo-sidebar {
    width: 320px;
    flex-shrink: 0;
}

/* User Info Card in Sidebar */
.stylo-user-card {
    background: var(--stylo-card-bg);
    border-radius: var(--stylo-border-radius);
    padding: 30px 20px;
    text-align: center;
    box-shadow: var(--stylo-card-shadow);
    margin-bottom: 25px;
    position: relative;
}

.stylo-avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 15px;
}

.stylo-avatar-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border: 3px solid #fff;
}

.stylo-edit-avatar-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 32px;
    height: 32px;
    background: var(--stylo-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    font-size: 14px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(242, 122, 94, 0.3);
}

.stylo-user-card h3 {
    margin: 0;
    color: var(--stylo-text-main);
    font-size: 20px;
    font-weight: 700;
}

.stylo-user-card p {
    margin: 5px 0 0;
    color: var(--stylo-text-muted);
    font-size: 14px;
}

/* Sidebar Navigation */
.stylo-nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stylo-nav-menu li a {
    display: flex;
    align-items: center;
    background: var(--stylo-card-bg);
    padding: 16px 20px;
    border-radius: 16px;
    color: var(--stylo-text-main);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    box-shadow: var(--stylo-card-shadow);
    transition: all 0.3s ease;
}

.stylo-nav-menu li a i.icon {
    width: 24px;
    font-size: 18px;
    color: var(--stylo-text-muted);
    margin-right: 15px;
    display: flex;
    justify-content: center;
}

.stylo-nav-menu li a i.chevron {
    margin-left: auto;
    font-size: 14px;
    color: #ddd;
    transition: all 0.3s ease;
}

.stylo-nav-menu li.active a,
.stylo-nav-menu li a:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0,0,0,0.05);
}

.stylo-nav-menu li.active a i.icon,
.stylo-nav-menu li a:hover i.icon {
    color: var(--stylo-primary);
}

.stylo-nav-menu li.active a i.chevron,
.stylo-nav-menu li a:hover i.chevron {
    color: var(--stylo-primary);
    transform: translateX(3px);
}

/* Main Content Area */
.stylo-content {
    flex: 1;
    background: var(--stylo-card-bg);
    border-radius: var(--stylo-border-radius);
    padding: 40px;
    box-shadow: var(--stylo-card-shadow);
}

.stylo-content-header {
    margin-bottom: 30px;
}

.stylo-content-header h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--stylo-text-main);
}

.stylo-content-header p {
    margin: 0;
    color: var(--stylo-text-muted);
    font-size: 15px;
}

/* Form Styling */
.stylo-form-group {
    margin-bottom: 25px;
}

.stylo-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--stylo-text-main);
    margin-bottom: 8px;
}

.stylo-form-group input {
    width: 100%;
    padding: 14px 20px;
    border: 1px solid #eee;
    background: #fafafa;
    border-radius: 12px;
    font-size: 15px;
    color: var(--stylo-text-main);
    transition: all 0.3s ease;
}

.stylo-form-group input:focus {
    outline: none;
    border-color: rgba(242, 122, 94, 0.3);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(242, 122, 94, 0.1);
}

.stylo-btn-primary {
    background: var(--stylo-primary);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.stylo-btn-primary:hover {
    background: var(--stylo-primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(242, 122, 94, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .stylo-account-section {
        padding: 20px 10px;
    }

    .stylo-account-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .stylo-sidebar {
        width: 100%;
    }
    
    .stylo-user-card {
        padding: 20px 15px;
        margin-bottom: 20px;
    }
    
    .stylo-content {
        padding: 20px;
        border-radius: 16px;
    }

    .stylo-content-header h2 {
        font-size: 20px;
    }

    .stylo-content-header p {
        font-size: 13px;
    }

    .stylo-form-group input {
        padding: 12px 15px;
        font-size: 14px;
    }

    .stylo-btn-primary {
        width: 100%;
        padding: 14px;
    }

    .stylo-nav-menu li a {
        padding: 14px 15px;
        font-size: 14px;
    }

    .stylo-nav-menu li a i.icon {
        margin-right: 10px;
    }
}
