/* User Theme - TradeAnalyserPro */

:root {
    /* Main Colors */
    --primary-color: #27ae60;
    --primary-rgb: 39, 174, 96;
    --secondary-color: #2ecc71;
    --secondary-rgb: 46, 204, 113;
    --accent-color: #16a085;
    --accent-rgb: 22, 160, 133;
    
    /* Status Colors */
    --success-color: #27ae60;
    --success-rgb: 39, 174, 96;
    --info-color: #3498db;
    --info-rgb: 52, 152, 219;
    --warning-color: #f39c12;
    --warning-rgb: 243, 156, 18;
    --danger-color: #e74c3c;
    --danger-rgb: 231, 76, 60;
    
    /* Neutrals */
    --dark-text: #2c3e50;
    --light-text: #ffffff;
    --muted-text: #7f8c8d;
    --body-bg: #f9f9f9;
    
    /* UI Elements */
    --border-radius: 0.5rem;
    --box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s;
    
    /* Header & Navigation */
    --header-height: 80px;
    --nav-text: #2c3e50;
    --nav-hover: #27ae60;
    --nav-active: #27ae60;
}

/* Base Styles */
body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--body-bg);
    color: var(--dark-text);
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--secondary-color);
}

p {
    margin-bottom: 1rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: var(--light-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    height: var(--header-height);
}

.logo img {
    height: 40px;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin: 0 1rem;
}

nav ul li a {
    color: var(--nav-text);
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: all var(--transition-speed);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed);
}

nav ul li a:hover {
    color: var(--nav-hover);
}

nav ul li a:hover::after,
nav ul li.active a::after {
    width: 100%;
}

nav ul li.active a {
    color: var(--nav-active);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-text);
}

/* Main Content */
main {
    padding: 2rem 0;
}

section {
    margin-bottom: 3rem;
}

/* Import Components CSS */
@import url('../css/components.css');

/* User-specific overrides */
.content-card .card-header h5, 
.content-card .card-header h4, 
.content-card .card-header h3 {
    color: var(--primary-color);
}

.stats-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
}

/* Profile Page Specific */
.profile-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--light-text);
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.profile-header::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 30%;
    height: 100%;
    background: url('../images/pattern.png') no-repeat bottom right;
    background-size: contain;
    opacity: 0.1;
}

.profile-header h1 {
    color: var(--light-text);
    margin-bottom: 0.5rem;
}

.profile-header p {
    opacity: 0.9;
    max-width: 600px;
}

.profile-content {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.profile-sidebar {
    flex: 1;
    min-width: 300px;
}

.profile-main {
    flex: 3;
    min-width: 0;
}

.profile-card {
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0 auto 1.5rem;
}

.profile-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.profile-info-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.profile-info-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 1rem;
}

.profile-info-content {
    flex: 1;
}

.profile-info-label {
    font-size: 0.8rem;
    color: var(--muted-text);
    margin-bottom: 0.25rem;
}

.profile-info-value {
    font-weight: 600;
    color: var(--dark-text);
}

/* Subscription Plan Cards */
.subscription-plans {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.plan-card {
    background-color: var(--light-text);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.5rem;
    flex: 1;
    min-width: 280px;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    border-top: 4px solid transparent;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border-top-color: var(--primary-color);
    transform: scale(1.05);
}

.plan-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.plan-badge {
    position: absolute;
    top: 0;
    right: 2rem;
    background: var(--primary-color);
    color: var(--light-text);
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.plan-header h2 {
    color: var(--dark-text);
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price span {
    font-size: 1rem;
    color: var(--muted-text);
    font-weight: 500;
}

.plan-features ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.plan-features li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.plan-features li i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.select-plan-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--light-text);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed);
}

.select-plan-btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background-color: var(--dark-text);
    color: var(--light-text);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-speed);
}

.footer-links a:hover {
    color: var(--light-text);
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all var(--transition-speed);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .profile-content {
        flex-direction: column;
    }

    .subscription-plans {
        flex-direction: column;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .plan-card.featured:hover {
        transform: translateY(-5px);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    nav {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--light-text);
        transition: all var(--transition-speed);
        z-index: 999;
    }

    nav.active {
        left: 0;
    }

    nav ul {
        flex-direction: column;
        padding: 2rem;
    }

    nav ul li {
        margin: 0 0 1.5rem;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
} 