/* ============================================================
   ExtremeVIP — Global Stylesheet
   ============================================================ */

/* ==================== VARIABLES ==================== */

:root {
    --primary:        #9C27B0;
    --primary-hover:  #7B1FA2;
    --primary-dark:   #8E24AA;
    --primary-soft:   #F3E5F5;

    --text-main:      #222222;
    --text-secondary: #666666;

    --background:     #F3F2F7;
    --white:          #FFFFFF;
    --card:           #FFFFFF;

    --border:         #E5E7EB;
    --shadow-soft:    0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ==================== RESET ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background: var(--background);
    color: var(--text-main);
}

/* ==================== MAINTENANCE ==================== */

.maintenance_content{
    display: block;
	background: var(--white);
	width: 100%;
    height: auto;
}

.maintenance_content .maintenance_box{
    display: block;
    width: 600px;
    margin: 10% auto;
    max-width: 90%;
    background: var(--primary-soft);
    padding: 50px;
}

.maintenance_content .maintenance_box h1{
    font-size: 2em;
    font-weight: 600;
    color: var(--text-primary);
    text-shadow: 1px 1px 0 #eee;
}

.maintenance_content .maintenance_box p{
    margin: 15px 0;
}

/* ==================== HEADER ==================== */

header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 700;
    font-size: 20px;
    color: var(--primary);
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header-actions img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
}

/* ==================== FOOTER ==================== */

footer {
    background: var(--primary);
    color: var(--white);
    padding: 25px 40px;
    font-size: 14px;
    text-align: center;
}

/* ==================== HERO (Login Page) ==================== */

.hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    align-items: center;
    gap: 60px;
    padding: 80px 60px;
    min-height: calc(100vh - 140px);
}

/* Left side */

.hero-left h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-left p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    max-width: 520px;
}

/* ==================== LOGIN CARD ==================== */

.login-card {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.login-card h2 {
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 22px;
}

/* ==================== FORMS ==================== */

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 14px;
    margin-bottom: 6px;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--border);
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.form-links {
    text-align: right;
    margin-bottom: 20px;
}

.form-links a {
    font-size: 13px;
    color: var(--primary);
    text-decoration: none;
}

.form-links a:hover {
    color: var(--primary-hover);
}

/* ==================== BUTTONS ==================== */

.btn-primary {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: none;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-primary:hover {
    background: var(--primary-hover);
}

.btn-outline {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    border: 2px solid var(--primary);
    background: transparent;
    color: var(--primary);
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-outline:hover {
    background: var(--primary-soft);
}

.divider-text {
    text-align: center;
    margin: 25px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

/* ==================== LAYOUT (Feed) ==================== */

.container {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 30px;
    max-width: 1300px;
    margin: auto;
    padding: 30px;
}

/* ==================== SIDEBAR ==================== */

.sidebar {
    background: var(--card);
    border-radius: 12px;
    padding: 20px;
}

.profile {
    text-align: center;
}

.profile img {
    width: 80px;
    border-radius: 50%;
    margin-bottom: 10px;
}

.profile h3 {
    font-size: 16px;
}

.profile p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 13px;
}

.stats div { text-align: center; }

.stats strong {
    display: block;
    font-size: 15px;
}

.menu a {
    display: block;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-main);
    margin-bottom: 6px;
}

.menu a:hover {
    background: var(--primary-soft);
    color: var(--primary);
}

.divider {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

/* ==================== CONTACTS ==================== */

.contacts h4 {
    font-size: 14px;
    margin-bottom: 10px;
}

.contact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 14px;
}

.contact img {
    width: 28px;
    border-radius: 50%;
}

/* ==================== FEED ==================== */

.feed {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stories {
    background: var(--card);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    overflow-x: auto;
    scrollbar-width: none;
}

.stories::-webkit-scrollbar { display: none; }

.story {
    text-align: center;
    font-size: 12px;
}

.story img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--primary);
    margin-bottom: 5px;
}

.create-post {
    background: var(--card);
    padding: 20px;
    border-radius: 12px;
}

.create-post input {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid var(--border);
    margin-bottom: 10px;
}

.post {
    background: var(--card);
    border-radius: 12px;
    overflow: hidden;
}

.post-header {
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.post-header img {
    width: 40px;
    border-radius: 50%;
}

.post-content img { width: 100%; }

.post-footer {
    padding: 12px 15px;
    font-size: 14px;
    color: var(--text-secondary);
}

/* ==================== RIGHTBAR ==================== */

.rightbar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.widget {
    background: var(--card);
    border-radius: 12px;
    padding: 20px;
}

.widget h4 { margin-bottom: 15px; }

.trend {
    margin-bottom: 8px;
    font-size: 14px;
}

.trend span {
    color: var(--primary);
    font-weight: 500;
}

.user {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.user img {
    width: 32px;
    border-radius: 50%;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 1000px) {

    .hero {
        grid-template-columns: 1fr;
        padding: 60px 30px;
    }

    .login-card {
        max-width: 420px;
        margin: 0 auto;
    }

    .hero-left h1 {
        font-size: 32px;
    }

    .container {
        grid-template-columns: 1fr;
    }

}