* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0d1117;
    color: #ffffff;
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.navbar {
    border-bottom: 1px solid #1f2937;
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(13, 17, 23, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #00ff88;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    transition: 0.3s;
}

.nav-menu a:hover {
    color: #00ff88;
}

.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin: 20px 0;
    max-width: 800px;
}

.hero p {
    max-width: 700px;
    color: #9ca3af;
    font-size: 20px;
}

.badge {
    background: rgba(0,255,136,0.1);
    border: 1px solid #00ff88;
    color: #00ff88;
    padding: 10px 18px;
    border-radius: 50px;
    display: inline-block;
}

.hero-buttons {
    margin-top: 35px;
    display: flex;
    gap: 20px;
}

.btn-primary,
.btn-secondary {
    padding: 14px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
}

.btn-primary {
    background: #00ff88;
    color: black;
}

.btn-secondary {
    border: 1px solid #374151;
    color: white;
}

.categories,
.posts-section {
    padding: 100px 0;
}

.categories h2,
.posts-section h2 {
    margin-bottom: 40px;
    font-size: 40px;
}

.card-grid,
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card,
.post-card {
    background: #161b22;
    border: 1px solid #21262d;
    padding: 30px;
    border-radius: 18px;
    transition: 0.3s;
}

.card:hover,
.post-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
}

.card h3,
.post-card h3 {
    margin-bottom: 15px;
}

.card p,
.post-card p {
    color: #9ca3af;
}

.post-card a {
    display: inline-block;
    margin-top: 20px;
    color: #00ff88;
    text-decoration: none;
}

.footer {
    border-top: 1px solid #1f2937;
    padding: 40px 0;
    text-align: center;
    color: #9ca3af;
}

@media(max-width: 768px) {

    .hero h1 {
        font-size: 42px;
    }

    .nav-container {
        flex-direction: column;
        gap: 20px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }
}

.page-hero {
    padding: 140px 0 80px;
}

.page-hero h1 {
    font-size: 64px;
    max-width: 850px;
    margin: 25px 0;
    line-height: 1.1;
}

.page-hero p {
    max-width: 700px;
    color: #9ca3af;
    font-size: 20px;
}

.community-grid {

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(320px, 1fr)
    );

    gap: 35px;

    margin-top: 60px;
}

.community-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.community-card {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 20px;
    padding: 35px;
    transition: 0.3s;
}

.community-card:hover {
    transform: translateY(-6px);
    border-color: #00ff88;
}

.community-card h3 {
    margin-bottom: 18px;
    font-size: 28px;
}

.community-card p {
    color: #9ca3af;
    line-height: 1.8;
}

.blog-page {
    padding: 80px 0 120px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.blog-card {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 22px;
    overflow: hidden;
    transition: 0.3s;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: #00ff88;
}

.blog-content {
    padding: 35px;
}

.blog-date {
    display: inline-block;
    margin-bottom: 18px;
    color: #00ff88;
    font-size: 14px;
}

.blog-card h2 {
    font-size: 32px;
    margin-bottom: 18px;
    line-height: 1.2;
}

.blog-card p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 25px;
}

.blog-card a {
    color: #00ff88;
    text-decoration: none;
    font-weight: bold;
}

.single-post {
    padding: 140px 0 120px;
}

.single-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

.single-article {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 24px;
    padding: 50px;
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    color: #00ff88;
    font-size: 14px;
}

.single-title {
    font-size: 62px;
    line-height: 1.1;
    margin-bottom: 40px;
}

.single-content {
    color: #d1d5db;
    line-height: 2;
    font-size: 18px;
}

.single-content p {
    margin-bottom: 28px;
}

.single-content h2,
.single-content h3 {
    margin: 40px 0 20px;
}

.single-content a {
    color: #00ff88;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 20px;
    padding: 30px;
}

.sidebar-card h3 {
    margin-bottom: 20px;
}

.sidebar-card p,
.sidebar-card li {
    color: #9ca3af;
    line-height: 1.8;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card li {
    margin-bottom: 12px;
}

@media(max-width: 900px) {

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

    .single-title {
        font-size: 42px;
    }

    .single-article {
        padding: 35px;
    }

}

.auth-page {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 120px 20px;
}

.auth-box {
    width: 100%;
    max-width: 500px;
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 24px;
    padding: 50px;
}

.auth-box h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.auth-box p {
    color: #9ca3af;
    margin-bottom: 35px;
}

.auth-box form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-box input {
    background: #0d1117;
    border: 1px solid #21262d;
    border-radius: 14px;
    padding: 18px;
    color: white;
    font-size: 16px;
}

.auth-box input:focus {
    outline: none;
    border-color: #00ff88;
}

.auth-box button {
    background: #00ff88;
    color: black;
    border: none;
    border-radius: 14px;
    padding: 18px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.auth-links {
    margin-top: 25px;
}

.auth-links a {
    color: #00ff88;
    text-decoration: none;
}

.auth-error {
    background: rgba(255,0,0,0.1);
    border: 1px solid red;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.auth-success {
    background: rgba(0,255,136,0.1);
    border: 1px solid #00ff88;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.dashboard {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: 100vh;
}

.dashboard-sidebar {
    background: #111827;
    border-right: 1px solid #21262d;
    padding: 40px 30px;
    position: sticky;
    top: 0;
    height: 100vh;
}

.dashboard-logo {
    color: #00ff88;
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 50px;
}

.dashboard-menu {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dashboard-menu a {
    color: #9ca3af;
    text-decoration: none;
    padding: 16px 20px;
    border-radius: 14px;
    transition: 0.3s;
}

.dashboard-menu a:hover {
    background: #161b22;
    color: white;
}

.dashboard-main {
    padding: 60px;
}

.dashboard-header {
    margin-bottom: 50px;
}

.dashboard-header h1 {
    font-size: 52px;
    margin-bottom: 15px;
}

.dashboard-header p {
    color: #9ca3af;
    font-size: 18px;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.dashboard-card {
    background: #161b22;
    border: 1px solid #21262d;
    border-radius: 22px;
    padding: 35px;
    transition: 0.3s;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    border-color: #00ff88;
}

.dashboard-card h3 {
    margin-bottom: 18px;
    font-size: 28px;
}

.dashboard-card p {
    color: #9ca3af;
    line-height: 1.8;
}

@media(max-width: 900px) {

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

    .dashboard-sidebar {
        height: auto;
        position: relative;
    }

    .dashboard-main {
        padding: 35px;
    }

    .dashboard-header h1 {
        font-size: 38px;
    }

}

.profile-page {
    padding-top: 120px;
    min-height: 100vh;
}

.profile-header {
    position: relative;
    margin-bottom: 100px;
}

.profile-banner {
    height: 300px;
    background:
    linear-gradient(
        135deg,
        #00ff88,
        #0077ff
    );
    border-radius: 30px;
}

.profile-avatar {
    position: absolute;
    left: 50px;
    bottom: -70px;
}

.profile-avatar img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 6px solid #020617;
}

.profile-info h1 {
    font-size: 42px;
    margin-bottom: 10px;
}

.profile-username {
    color: #00ff88;
    margin-bottom: 20px;
}

.profile-bio {
    color: #9ca3af;
    max-width: 700px;
    line-height: 1.8;
}

.profile-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.profile-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 24px;
    padding: 40px;
}

.profile-card h3 {
    margin-bottom: 20px;
}

.profile-card span {
    font-size: 40px;
    color: #00ff88;
    font-weight: bold;
}

.profile-edit {
    margin-top: 40px;
}

.profile-edit a {
    display: inline-block;
    background: #00ff88;
    color: #000;
    padding: 15px 30px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: bold;
}

.edit-profile-page {
    padding-top: 140px;
    min-height: 100vh;
}

.edit-profile-box {
    max-width: 800px;
    margin: auto;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 30px;
    padding: 50px;
}

.edit-profile-box h1 {
    margin-bottom: 40px;
    font-size: 48px;
}

.edit-profile-box form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.edit-profile-box label {
    font-weight: bold;
}

.edit-profile-box textarea,
.edit-profile-box input {
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 14px;
    padding: 18px;
    color: white;
    font-size: 16px;
}

.edit-profile-box button {
    background: #00ff88;
    color: black;
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.marketplace-page {
    padding-top: 140px;
    min-height: 100vh;
}

.marketplace-header {
    margin-bottom: 60px;
}

.marketplace-header h1 {
    font-size: 64px;
    margin-bottom: 20px;
}

.marketplace-header p {
    color: #9ca3af;
    margin-bottom: 30px;
}

.marketplace-header a {
    display: inline-block;
    background: #00ff88;
    color: black;
    padding: 16px 28px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: bold;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.marketplace-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 24px;
    padding: 35px;
    transition: 0.3s;
}

.marketplace-card:hover {
    transform: translateY(-8px);
    border-color: #00ff88;
}

.marketplace-top {
    margin-bottom: 20px;
}

.marketplace-price {
    background: #00ff88;
    color: black;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: bold;
    font-size: 14px;
}

.marketplace-price.premium {
    background: #0077ff;
    color: white;
}

.marketplace-card h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.marketplace-card p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 30px;
}

.marketplace-author {
    color: #00ff88;
    font-size: 14px;
}

.publish-page {
    padding-top: 140px;
    min-height: 100vh;
}

.publish-box {
    max-width: 900px;
    margin: auto;
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 30px;
    padding: 50px;
}

.publish-box h1 {
    font-size: 52px;
    margin-bottom: 40px;
}

.publish-box form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.publish-box input,
.publish-box textarea {
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 14px;
    padding: 18px;
    color: white;
    font-size: 16px;
}

.publish-box button {
    background: #00ff88;
    color: black;
    border: none;
    padding: 18px;
    border-radius: 14px;
    font-weight: bold;
    cursor: pointer;
}

.marketplace-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.market-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 24px;
    padding: 35px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.market-card:hover {
    transform: translateY(-6px);
    border-color: #00ff88;
    box-shadow: 0 0 30px rgba(0,255,136,0.08);
}

.market-price {
    display: inline-block;
    background: #00ff88;
    color: #000;
    padding: 8px 18px;
    border-radius: 999px;
    font-weight: bold;
    margin-bottom: 25px;
    font-size: 14px;
}

.market-card h2 {
    margin-bottom: 18px;
    line-height: 1.2;
}

.market-card h2 a {
    color: #ffffff;
    text-decoration: none;
    font-size: 38px;
}

.market-card h2 a:hover {
    color: #00ff88;
}

.market-card p {
    color: #9ca3af;
    line-height: 1.8;
    margin-bottom: 30px;
}

.market-author {
    color: #00ff88;
    font-weight: bold;
}

.marketplace-button {
    display: inline-block;
    margin-top: 35px;
    background: #00ff88;
    color: #000;
    padding: 18px 34px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.marketplace-button:hover {
    transform: scale(1.04);
}

.marketplace-header h1 {
    font-size: 72px;
    margin-bottom: 20px;
}

.marketplace-header p {
    color: #9ca3af;
    font-size: 20px;
}

.single-resource {
    padding: 100px 0;
}

.resource-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.resource-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 28px;
    padding: 50px;
}

.resource-price {
    display: inline-block;
    background: #00ff88;
    color: #000;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: bold;
    margin-bottom: 25px;
}

.resource-card h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 25px;
}

.resource-meta {
    color: #9ca3af;
    margin-bottom: 40px;
}

.resource-meta span {
    color: #00ff88;
    font-weight: bold;
}

.resource-content {
    color: #d1d5db;
    line-height: 1.9;
    font-size: 18px;
}

.resource-content p {
    margin-bottom: 25px;
}

.resource-actions {
    margin-top: 50px;
}

.download-button {
    display: inline-block;
    background: #00ff88;
    color: #000;
    text-decoration: none;
    padding: 18px 32px;
    border-radius: 16px;
    font-weight: bold;
    transition: 0.3s;
}

.download-button:hover {
    transform: scale(1.05);
}

.resource-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 24px;
    padding: 35px;
}

.sidebar-card h3 {
    margin-bottom: 25px;
    font-size: 28px;
}

.sidebar-card ul {
    list-style: none;
}

.sidebar-card ul li {
    margin-bottom: 18px;
    color: #9ca3af;
}

.sidebar-card ul li span {
    color: #ffffff;
    font-weight: bold;
}

.creator-link {
    display: inline-block;
    margin-top: 20px;
    color: #00ff88;
    text-decoration: none;
    font-weight: bold;
}

@media(max-width: 900px) {

    .resource-layout {
        grid-template-columns: 1fr;
    }

    .resource-card h1 {
        font-size: 42px;
    }

}

.messages-page {
    padding: 100px 0;
}

.messages-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
}

.messages-sidebar {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 24px;
    padding: 30px;
}

.messages-sidebar h2 {
    margin-bottom: 30px;
}

.chat-user {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px;
    border-radius: 18px;
    background: #0f172a;
    cursor: pointer;
}

.chat-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #00ff88,
        #0088ff
    );
}

.chat-avatar.big {
    width: 70px;
    height: 70px;
}

.messages-content {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 24px;
    overflow: hidden;
}

.messages-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    border-bottom: 1px solid #1f2937;
}

.messages-box {
    padding: 30px;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.message {
    max-width: 70%;
    padding: 18px 22px;
    border-radius: 20px;
    line-height: 1.6;
}

.message.received {
    background: #0f172a;
}

.message.sent {
    background: #00ff88;
    color: #000;
    align-self: flex-end;
}

.message-form {
    display: flex;
    gap: 20px;
    padding: 25px;
    border-top: 1px solid #1f2937;
}

.message-form input {
    flex: 1;
    background: #020617;
    border: 1px solid #1f2937;
    border-radius: 14px;
    padding: 18px;
    color: #fff;
}

.message-form button {
    background: #00ff88;
    border: none;
    color: #000;
    padding: 18px 28px;
    border-radius: 14px;
    font-weight: bold;
    cursor: pointer;
}

/*
|--------------------------------------------------------------------------
| REAL CHAT
|--------------------------------------------------------------------------
*/

.messages-box {
    padding: 30px;
    height: 500px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.message {
    max-width: 70%;
    padding: 18px 22px;
    border-radius: 18px;
    font-size: 16px;
    line-height: 1.6;
    word-break: break-word;
}

.message.sent {

    background: linear-gradient(
        135deg,
        #00ff88,
        #00bfff
    );

    color: #000;

    align-self: flex-end;

    border-bottom-right-radius: 5px;

    font-weight: 600;
}

.message.received {

    background: #111827;

    color: #fff;

    align-self: flex-start;

    border-bottom-left-radius: 5px;

    border: 1px solid rgba(255,255,255,.05);
}

.message-form {

    display: flex;
    gap: 15px;

    padding: 25px;

    border-top: 1px solid rgba(255,255,255,.05);
}

.message-form input {

    flex: 1;

    background: #020617;

    border: 1px solid rgba(255,255,255,.05);

    color: #fff;

    padding: 18px 20px;

    border-radius: 14px;

    outline: none;

    font-size: 15px;
}

.message-form button {

    background: linear-gradient(
        135deg,
        #00ff88,
        #00bfff
    );

    border: none;

    color: #000;

    padding: 18px 30px;

    border-radius: 14px;

    font-weight: bold;

    cursor: pointer;

    transition: .3s;
}

.message-form button:hover {

    transform: translateY(-2px);
}

.chat-user {

    display: flex;

    align-items: center;

    gap: 15px;

    padding: 15px;

    border-radius: 16px;

    text-decoration: none;

    color: #fff;

    transition: .3s;
}

.chat-user:hover {

    background: rgba(255,255,255,.04);
}

.chat-avatar {

    width: 50px;
    height: 50px;

    border-radius: 50%;

    background: linear-gradient(
        135deg,
        #00ff88,
        #00bfff
    );
}

.chat-avatar.big {

    width: 70px;
    height: 70px;
}

.category-card {

    text-decoration: none;

    color: white;

    display: block;

    transition: 0.3s;
}

.category-card:hover {

    transform: translateY(-5px);

    border-color: #00ff88;
}

/*
|--------------------------------------------------------------------------
| EMPTY CATEGORY
|--------------------------------------------------------------------------
*/

.empty-category {

    background: #091120;

    border: 1px solid #13203a;

    border-radius: 30px;

    padding: 80px 40px;

    text-align: center;

    max-width: 700px;

    margin: 0 auto;
}

.empty-category-icon {

    font-size: 70px;

    margin-bottom: 25px;
}

.empty-category h2 {

    font-size: 42px;

    margin-bottom: 20px;

    color: white;
}

.empty-category p {

    color: #94a3b8;

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 35px;
}

/*
|--------------------------------------------------------------------------
| FOLLOW SYSTEM
|--------------------------------------------------------------------------
*/

.follow-button {

    margin-top: 20px;
    padding: 14px 24px;
    border: none;
    border-radius: 14px;
    background: #00ff99;
    color: #000;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s;
}

.follow-button:hover {

    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0,255,153,.35);
}

.social-stats {

    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.social-stat {

    min-width: 160px;
    padding: 24px;
    border-radius: 20px;
    background: #081229;
    border: 1px solid #112244;
}

.social-stat strong {

    display: block;
    font-size: 32px;
    color: #00ff99;
    margin-bottom: 8px;
}

.social-stat span {

    color: #8b9bb4;
    font-size: 15px;
}

.community-card {

    background: #081226;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 24px;

    padding: 40px;

    text-decoration: none;
    color: white;

    transition: 0.3s ease;

    display: block;
}

.community-card:hover {

    transform: translateY(-6px);

    border-color: #00ff99;

    box-shadow: 0 0 30px rgba(0,255,153,0.08);
}

.community-card h3 {

    font-size: 38px;

    margin-bottom: 20px;

    color: white;

    text-decoration: none;
}

.community-card p {

    color: #a7b0c0;

    line-height: 1.8;

    font-size: 20px;

    text-decoration: none;
}

.community-card * {

    text-decoration: none !important;
}

.two-columns {

    grid-template-columns: repeat(2, 1fr);

    max-width: 950px;

    margin: 60px auto 0;
}

.users-page {

    padding: 120px 0;
}

.users-hero {

    margin-bottom: 70px;
}

.users-grid {

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(320px, 1fr)
    );

    gap: 35px;
}

.user-card {

    background: #081226;

    border: 1px solid rgba(255,255,255,0.05);

    border-radius: 28px;

    padding: 40px;

    transition: 0.3s ease;
}

.user-card:hover {

    transform: translateY(-6px);

    border-color: #00ff99;

    box-shadow: 0 0 30px rgba(0,255,153,0.08);
}

.user-avatar {

    margin-bottom: 25px;
}

.user-avatar img {

    border-radius: 50%;
}

.user-card h3 {

    font-size: 34px;

    margin-bottom: 10px;
}

.user-username {

    color: #00ff99;

    margin-bottom: 20px;
}

.user-bio {

    color: #a7b0c0;

    line-height: 1.8;

    margin-bottom: 30px;

    min-height: 90px;
}

.user-actions {

    display: flex;

    gap: 15px;
}

.user-btn {

    background: #00ff99;

    color: #000;

    padding: 14px 24px;

    border-radius: 14px;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s ease;
}

.user-btn:hover {

    transform: translateY(-3px);
}

.user-btn.secondary {

    background: transparent;

    border: 1px solid rgba(255,255,255,0.1);

    color: white;
}

/*
|--------------------------------------------------------------------------
| DASHBOARD
|--------------------------------------------------------------------------
*/

.dashboard-page {

    min-height: 100vh;
    background: #020817;
}

.dashboard-layout {

    display: grid;
    grid-template-columns: 280px 1fr;
}

.dashboard-sidebar {

    background: #07122b;
    border-right: 1px solid rgba(255,255,255,.05);

    min-height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    padding: 40px 30px;
}

.dashboard-logo h2 {

    color: #00ff9d;
    font-size: 42px;
}

.dashboard-nav {

    display: flex;
    flex-direction: column;
    gap: 10px;

    margin-top: 40px;
}

.dashboard-nav a {

    color: #94a3b8;
    text-decoration: none;

    padding: 14px 18px;

    border-radius: 14px;

    transition: .25s;
}

.dashboard-nav a:hover {

    background: rgba(0,255,157,.08);
    color: #00ff9d;
}

.dashboard-logout a {

    color: #ef4444;
    text-decoration: none;

    font-size: 15px;
}

.dashboard-content {

    padding: 70px 60px;
}

.dashboard-header h1 {

    font-size: 64px;
    color: white;

    margin-bottom: 10px;
}

.dashboard-header p {

    color: #94a3b8;
    font-size: 22px;
}

.dashboard-cards {

    margin-top: 60px;

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(280px, 1fr));

    gap: 30px;
}

.dashboard-card {

    background: #07122b;

    border: 1px solid rgba(255,255,255,.05);

    border-radius: 28px;

    padding: 40px;

    text-decoration: none;

    transition: .25s;
}

.dashboard-card:hover {

    transform: translateY(-6px);

    border-color: #00ff9d;
}

.dashboard-card h3 {

    color: white;
    font-size: 42px;

    margin-bottom: 20px;
}

.dashboard-card p {

    color: #94a3b8;
    font-size: 20px;
    line-height: 1.7;
}

/*
|--------------------------------------------------------------------------
| SELLER PAGE
|--------------------------------------------------------------------------
*/

.seller-page {

    padding: 120px 0;
}

.seller-box {

    max-width: 850px;

    margin: auto;

    background: #07122b;

    border: 1px solid rgba(255,255,255,.05);

    border-radius: 30px;

    padding: 60px;
}

.seller-box h1 {

    font-size: 58px;

    color: white;

    margin: 20px 0;
}

.seller-box p {

    color: #94a3b8;

    font-size: 20px;

    line-height: 1.8;
}

.seller-form {

    margin-top: 40px;

    display: flex;

    flex-direction: column;

    gap: 20px;
}

.seller-form textarea,
.seller-form input {

    background: #020817;

    border: 1px solid rgba(255,255,255,.08);

    border-radius: 18px;

    padding: 20px;

    color: white;

    font-size: 16px;
}

.seller-form textarea {

    min-height: 160px;

    resize: vertical;
}

.seller-form button {

    background: #00ff9d;

    color: black;

    border: none;

    border-radius: 18px;

    padding: 18px;

    font-size: 18px;

    font-weight: bold;

    cursor: pointer;

    transition: .25s;
}

.seller-form button:hover {

    transform: translateY(-3px);
}

.seller-message,
.seller-status {

    margin-top: 30px;

    background: rgba(0,255,157,.08);

    border: 1px solid rgba(0,255,157,.2);

    padding: 20px;

    border-radius: 18px;

    color: #00ff9d;
}

/*
|--------------------------------------------------------------------------
| SELLER REQUEST
|--------------------------------------------------------------------------
*/

.seller-form {

    display: flex;
    flex-direction: column;
    gap: 24px;
}

.seller-field {

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.seller-field label {

    color: #fff;

    font-size: 15px;

    font-weight: 600;
}

.seller-form input,
.seller-form textarea {

    width: 100%;

    background: #020617;

    border: 1px solid rgba(255,255,255,0.08);

    border-radius: 18px;

    padding: 18px;

    color: #fff;

    font-size: 15px;

    outline: none;

    transition: 0.3s;
}

.seller-form input:focus,
.seller-form textarea:focus {

    border-color: #00ff9d;

    box-shadow:
    0 0 20px rgba(0,255,157,0.15);
}

.seller-form textarea {

    resize: vertical;

    min-height: 140px;
}

.seller-form button {

    background: linear-gradient(
        90deg,
        #00ff9d,
        #00d9ff
    );

    color: #000;

    border: none;

    border-radius: 18px;

    padding: 18px;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s;
}

.seller-form button:hover {

    transform: translateY(-3px);

    box-shadow:
    0 10px 30px rgba(0,255,157,0.2);
}

/*
|--------------------------------------------------------------------------
| ADMIN SELLERS
|--------------------------------------------------------------------------
*/

.admin-sellers-page {

    padding: 120px 0;
}

.admin-header {

    margin-bottom: 60px;
}

.admin-header h1 {

    font-size: 56px;

    margin: 20px 0;
}

.admin-header p {

    color: #94a3b8;

    font-size: 18px;

    max-width: 700px;
}

.admin-sellers-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(380px, 1fr));

    gap: 30px;
}

.admin-seller-card {

    background: #07122a;

    border: 1px solid rgba(255,255,255,0.06);

    border-radius: 30px;

    padding: 35px;
}

.admin-user-top {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 30px;
}

.admin-user-top h3 {

    margin: 0;

    font-size: 28px;
}

.admin-user-top span {

    color: #00ff9d;
}

.admin-seller-info {

    display: flex;

    flex-direction: column;

    gap: 20px;
}

.admin-seller-info p {

    color: #cbd5e1;

    line-height: 1.8;
}

.admin-actions {

    display: flex;

    gap: 15px;

    margin-top: 30px;
}

.approve-btn,
.reject-btn {

    flex: 1;

    text-align: center;

    padding: 14px;

    border-radius: 14px;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s;
}

.approve-btn {

    background: #00ff9d;

    color: #000;
}

.reject-btn {

    background: #ef4444;

    color: #fff;
}

.approve-btn:hover,
.reject-btn:hover {

    transform: translateY(-3px);
}

/*
|--------------------------------------------------------------------------
| MARKETPLACE
|--------------------------------------------------------------------------
*/

.marketplace-page {

    padding: 80px 0;

    background: #020817;
}

.marketplace-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    margin-bottom: 60px;

    flex-wrap: wrap;
}

.marketplace-header h1 {

    font-size: 54px;

    color: #fff;

    margin-bottom: 10px;
}

.marketplace-header p {

    color: #94a3b8;

    font-size: 18px;
}

.marketplace-button {

    background: #00ff9d;

    color: #000;

    padding: 16px 28px;

    border-radius: 14px;

    text-decoration: none;

    font-weight: 700;

    transition: 0.3s;
}

.marketplace-button:hover {

    transform: translateY(-3px);

    box-shadow: 0 0 25px rgba(0,255,157,0.35);
}

/*
|--------------------------------------------------------------------------
| GRID
|--------------------------------------------------------------------------
*/

.marketplace-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit, minmax(320px, 1fr));

    gap: 35px;
}

/*
|--------------------------------------------------------------------------
| CARD
|--------------------------------------------------------------------------
*/

.market-card {

    background: #07122b;

    border: 1px solid #132347;

    border-radius: 28px;

    overflow: hidden;

    padding: 24px;

    transition: 0.35s;

    position: relative;
}

.market-card:hover {

    transform: translateY(-8px);

    border-color: #00ff9d;

    box-shadow:
    0 10px 40px rgba(0,0,0,0.45);
}

/*
|--------------------------------------------------------------------------
| IMAGEN
|--------------------------------------------------------------------------
*/

.resource-thumb {

    border-radius: 20px;

    overflow: hidden;

    margin-bottom: 24px;
}

.resource-thumb img {

    width: 100%;

    height: 240px;

    object-fit: cover;

    display: block;

    transition: 0.4s;
}

.market-card:hover .resource-thumb img {

    transform: scale(1.06);
}

/*
|--------------------------------------------------------------------------
| PRECIO
|--------------------------------------------------------------------------
*/

.market-price {

    position: absolute;

    top: 38px;

    left: 38px;

    background: #00ff9d;

    color: #000;

    padding: 10px 18px;

    border-radius: 999px;

    font-weight: 700;

    font-size: 14px;

    z-index: 10;
}

/*
|--------------------------------------------------------------------------
| TITULO
|--------------------------------------------------------------------------
*/

.market-card h2 {

    margin-bottom: 16px;

    font-size: 38px;

    line-height: 1.1;
}

.market-card h2 a {

    color: #fff;

    text-decoration: none;

    transition: 0.3s;
}

.market-card h2 a:hover {

    color: #00ff9d;
}

/*
|--------------------------------------------------------------------------
| DESCRIPCION
|--------------------------------------------------------------------------
*/

.market-card p {

    color: #94a3b8;

    line-height: 1.8;

    font-size: 17px;

    margin-bottom: 30px;
}

/*
|--------------------------------------------------------------------------
| AUTOR
|--------------------------------------------------------------------------
*/

.market-author {

    color: #00ff9d;

    font-weight: 700;

    font-size: 16px;
}

/*
|--------------------------------------------------------------------------
| EMPTY
|--------------------------------------------------------------------------
*/

.empty-marketplace {

    background: #07122b;

    padding: 50px;

    border-radius: 24px;

    text-align: center;
}

.empty-marketplace h3 {

    color: #fff;

    font-size: 32px;

    margin-bottom: 15px;
}

.empty-marketplace p {

    color: #94a3b8;
}

/*
|--------------------------------------------------------------------------
| SINGLE RESOURCE IMAGE
|--------------------------------------------------------------------------
*/

.single-resource-thumb {

    margin-bottom: 30px;

    overflow: hidden;

    border-radius: 24px;
}

.single-resource-thumb img {

    width: 100%;

    max-height: 500px;

    object-fit: cover;

    display: block;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width: 768px) {

    .marketplace-header {

        flex-direction: column;

        align-items: flex-start;
    }

    .marketplace-header h1 {

        font-size: 42px;
    }

    .market-card h2 {

        font-size: 28px;
    }
}

/* ========================================
DASHBOARD STATS
======================================== */

.dashboard-stats{

    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:24px;
    margin:35px 0 40px;
}

.dashboard-stat-card{

    background:#08142c;
    border:1px solid rgba(0,255,153,.12);
    border-radius:22px;
    padding:28px;
    transition:.25s;
}

.dashboard-stat-card:hover{

    transform:translateY(-4px);
    border-color:#00ff99;
}

.dashboard-stat-card span{

    display:block;
    font-size:42px;
    font-weight:700;
    color:#00ff99;
    margin-bottom:10px;
}

.dashboard-stat-card p{

    margin:0;
    color:#9fb0d1;
    font-size:15px;
    line-height:1.5;
}

/* ========================================
ALERTA DASHBOARD
======================================== */

.dashboard-alert{

    margin-top:24px;
    padding:18px 22px;
    border-radius:18px;
    background:#082032;
    border:1px solid #00ff99;
    color:#ffffff;
    font-size:15px;
    line-height:1.6;
}

.dashboard-alert strong{

    color:#00ff99;
}

/*
|--------------------------------------------------------------------------
| CATEGORY POSTS FIX
|--------------------------------------------------------------------------
*/

.category-posts {

    display: grid;

    grid-template-columns: repeat(
        auto-fit,
        minmax(320px, 1fr)
    );

    gap: 30px;

    margin-top: 50px;
}

.category-post-card {

    background: #071631;

    border: 1px solid rgba(255,255,255,0.05);

    border-radius: 24px;

    padding: 35px;

    transition: 0.3s;

    height: auto;
}

.category-post-card:hover {

    border-color: #00ffa3;

    transform: translateY(-4px);
}

.category-post-card h2 {

    font-size: 34px;

    margin: 15px 0;
}

.category-post-card p {

    color: #9fb0cc;

    line-height: 1.7;
}

.category-post-card a {

    color: #00ffa3;

    text-decoration: none;

    font-weight: 700;
}

.category-post-card .post-date {

    color: #00ffa3;

    font-size: 14px;

    margin-bottom: 15px;
}

.profile-preview img{

    width:120px;
    height:120px;

    border-radius:50%;

    object-fit:cover;

    border:4px solid #00ffae;

    margin-bottom:20px;
}

.banner-preview img{

    width:100%;
    height:220px;

    object-fit:cover;

    border-radius:20px;

    margin-bottom:20px;

    border:1px solid rgba(255,255,255,.08);
}

.profile-socials{

    display:flex;
    flex-direction:column;
    gap:14px;

    margin-top:25px;
}

.profile-social-link{

    color:#00ffae;

    text-decoration:none;

    font-weight:600;

    transition:.2s;
}

.profile-social-link:hover{

    opacity:.7;
}

.user-avatar img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    border:4px solid #00ff9d;
}

/*
|--------------------------------------------------------------------------
| NOTIFICACIONES
|--------------------------------------------------------------------------
*/

.header-notifications {

    position: relative;
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.notification-bell {

    position: relative;
    font-size: 24px;
    text-decoration: none;
    color: #00ff99;
    transition: 0.3s;
}

.notification-bell:hover {

    transform: scale(1.1);
}

.notification-count {

    position: absolute;
    top: -8px;
    right: -10px;

    width: 20px;
    height: 20px;

    border-radius: 50%;

    background: #ff3b3b;
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 12px;
    font-weight: bold;
}

/*
|--------------------------------------------------------------------------
| PÁGINA NOTIFICACIONES
|--------------------------------------------------------------------------
*/

.notifications-page {

    padding: 80px 0;
}

.notifications-header {

    margin-bottom: 40px;
}

.notifications-header h1 {

    font-size: 48px;
    color: white;
    margin-bottom: 10px;
}

.notifications-header p {

    color: #aaa;
}

.notifications-list {

    display: flex;
    flex-direction: column;
    gap: 20px;
}

.notification-card {

    background: #07142a;

    border: 1px solid #112244;

    border-radius: 20px;

    padding: 25px;

    display: flex;
    align-items: center;
    gap: 20px;

    transition: 0.3s;
}

.notification-card:hover {

    border-color: #00ff99;
    transform: translateY(-2px);
}

.notification-icon {

    font-size: 28px;
}

.notification-content p {

    color: white;
    margin-bottom: 8px;
}

.notification-content span {

    color: #888;
    font-size: 14px;
}

/*
|--------------------------------------------------------------------------
| DROPDOWN NOTIFICATIONS
|--------------------------------------------------------------------------
*/

.header-notifications {

    position: relative;
    margin-left: 20px;
}

.notification-bell {

    position: relative;

    background: none;
    border: none;

    font-size: 28px;
    cursor: pointer;

    color: white;
}

.notifications-dropdown {

    position: absolute;

    top: 60px;
    right: 0;

    width: 380px;

    background: #07142a;

    border: 1px solid #112244;

    border-radius: 20px;

    overflow: hidden;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);

    transition: 0.3s;

    z-index: 9999;
}

.notifications-dropdown.active {

    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {

    padding: 20px;

    border-bottom: 1px solid #112244;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dropdown-header h3 {

    color: white;
    font-size: 18px;
}

.dropdown-header button {

    background: #00ff99;
    border: none;

    padding: 8px 14px;

    border-radius: 10px;

    cursor: pointer;
    font-weight: bold;
}

.dropdown-notifications {

    max-height: 400px;
    overflow-y: auto;
}

.dropdown-item {

    padding: 18px;

    display: flex;
    gap: 15px;

    border-bottom: 1px solid #112244;

    transition: 0.3s;
}

.dropdown-item:hover {

    background: rgba(255,255,255,0.03);
}

.dropdown-item-icon {

    font-size: 22px;
}

.dropdown-item-content p {

    color: white;
    margin-bottom: 5px;

    font-size: 14px;
}

.dropdown-item-content span {

    color: #888;
    font-size: 12px;
}

.empty-dropdown {

    padding: 30px;
    text-align: center;
    color: #888;
}

/*
|--------------------------------------------------------------------------
| DROPDOWN FOOTER
|--------------------------------------------------------------------------
*/

.dropdown-footer {

    padding: 15px;

    border-top: 1px solid #112244;

    text-align: center;

    background: rgba(255,255,255,0.02);
}

.dropdown-footer a {

    color: #00ff99;

    text-decoration: none;

    font-weight: 600;

    transition: 0.3s;
}

.dropdown-footer a:hover {

    opacity: 0.7;
}

/* =========================
   HERRAMIENTAS
========================= */

.tools-hero {

    padding: 120px 0 60px;
}

.tools-search {

    margin-top: 30px;
}

.tools-search input {

    width: 100%;

    max-width: 500px;

    padding: 16px 20px;

    border-radius: 14px;

    border: 1px solid rgba(0,255,170,.15);

    background: #071226;

    color: white;

    font-size: 15px;

    outline: none;
}

.tools-search input::placeholder {

    color: rgba(255,255,255,.4);
}

.tools-page {

    padding: 20px 0 100px;
}

.tools-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(280px,1fr));

    gap: 30px;
}

.tool-card {

    background: #071226;

    border: 1px solid rgba(0,255,170,.08);

    border-radius: 24px;

    padding: 30px;

    transition: .25s ease;

    position: relative;

    overflow: hidden;
}

.tool-card:hover {

    transform: translateY(-6px);

    border-color: #00ffaa;

    box-shadow:
    0 10px 40px rgba(0,255,170,.08);
}

.tool-top {

    margin-bottom: 18px;
}

.tool-badge {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 8px 14px;

    border-radius: 999px;

    background: rgba(0,255,170,.08);

    color: #00ffaa;

    font-size: 13px;

    font-weight: 600;
}

.tool-card h3 {

    font-size: 30px;

    margin-bottom: 14px;

    color: white;
}

.tool-card p {

    color: rgba(255,255,255,.7);

    line-height: 1.7;

    margin-bottom: 25px;
}

.tool-btn {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    text-decoration: none;

    color: #00ffaa;

    font-weight: 700;

    transition: .2s ease;
}

.tool-btn:hover {

    transform: translateX(5px);
}

/* =========================
   NOTEPAD
========================= */

.notepad-page {

    padding:
    120px 0 100px;
}

.notepad-header {

    margin-bottom: 40px;
}

.note-form-box {

    background: #071226;

    border:
    1px solid rgba(0,255,170,.08);

    border-radius: 24px;

    padding: 30px;

    margin-bottom: 50px;
}

.note-form-box input,
.note-form-box textarea {

    width: 100%;

    background: #020817;

    border:
    1px solid rgba(255,255,255,.08);

    border-radius: 16px;

    padding: 18px;

    color: white;

    margin-bottom: 20px;

    font-size: 15px;
}

.note-form-box textarea {

    resize: vertical;
}

.note-form-box button {

    background: #00ffaa;

    color: black;

    border: none;

    padding: 16px 28px;

    border-radius: 14px;

    font-weight: 700;

    cursor: pointer;
}

.notes-grid {

    display: grid;

    grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

    gap: 30px;
}

.note-card {

    background: #071226;

    border:
    1px solid rgba(0,255,170,.08);

    border-radius: 24px;

    padding: 25px;

    transition: .2s ease;
}

.note-card:hover {

    transform: translateY(-5px);

    border-color: #00ffaa;
}

.note-card h3 {

    margin-bottom: 16px;

    color: white;
}

.note-card p {

    color: rgba(255,255,255,.7);

    line-height: 1.7;

    white-space: pre-wrap;
}

.note-footer {

    margin-top: 25px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}

.note-footer span {

    color: rgba(255,255,255,.4);

    font-size: 14px;
}

.note-footer a {

    color: #ff5f5f;

    text-decoration: none;

    font-weight: 600;
}

/*
|--------------------------------------------------------------------------
| MESSAGES
|--------------------------------------------------------------------------
*/

.messages-page {

    padding: 50px 0;
}

.messages-layout {

    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;

    margin-top: 40px;
}

/*
|--------------------------------------------------------------------------
| SIDEBAR
|--------------------------------------------------------------------------
*/

.messages-sidebar {

    background: #071630;

    border: 1px solid #13284f;
    border-radius: 24px;

    padding: 30px;

    height: 700px;

    overflow-y: auto;
}

.messages-sidebar h2 {

    color: white;

    font-size: 38px;

    margin-bottom: 30px;
}

.chat-user {

    display: flex;
    align-items: center;
    gap: 16px;

    padding: 16px;

    border-radius: 20px;

    text-decoration: none;

    transition: 0.3s;
}

.chat-user:hover {

    background: rgba(0,255,170,0.06);
}

.chat-avatar {

    width: 70px;
    height: 70px;

    min-width: 70px;

    border-radius: 50%;

    overflow: hidden;

    border: 3px solid #00ffaa;
}

.chat-avatar img {

    width: 100%;
    height: 100%;

    object-fit: cover;
}

.chat-user strong {

    display: block;

    color: white;

    font-size: 22px;
}

.chat-user p {

    color: #00ffaa;

    margin-top: 5px;

    font-size: 16px;
}

/*
|--------------------------------------------------------------------------
| CHAT CONTENT
|--------------------------------------------------------------------------
*/

.messages-content {

    background: #071630;

    border: 1px solid #13284f;
    border-radius: 24px;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    justify-content: space-between;

    height: 700px;
}

/*
|--------------------------------------------------------------------------
| HEADER
|--------------------------------------------------------------------------
*/

.messages-header {

    display: flex;
    align-items: center;
    gap: 20px;

    padding: 25px;

    min-height: 120px;

    background: #071630;

    border-bottom: 1px solid #13284f;
}

.messages-header h3 {

    color: white;

    font-size: 32px;
}

.messages-header p {

    color: #00ffaa;

    margin-top: 6px;

    font-size: 18px;
}

.chat-avatar.big {

    width: 90px;
    height: 90px;

    min-width: 90px;
}

/*
|--------------------------------------------------------------------------
| MESSAGES BOX
|--------------------------------------------------------------------------
*/

.messages-box {

    flex: 1;

    min-height: 400px;

    padding: 30px;

    overflow-y: auto;

    display: flex;
    flex-direction: column;

    gap: 20px;

    background: #04101f;
}

/*
|--------------------------------------------------------------------------
| MESSAGE
|--------------------------------------------------------------------------
*/

.message {

    max-width: 60%;

    padding: 18px 22px;

    border-radius: 18px;

    color: white;

    line-height: 1.6;

    font-size: 17px;
}

.message.sent {

    background: linear-gradient(
        135deg,
        #00ffaa,
        #00bfff
    );

    color: black;

    font-weight: 700;

    align-self: flex-end;
}

.message.received {

    background: #0d203d;

    align-self: flex-start;
}

/*
|--------------------------------------------------------------------------
| FORM
|--------------------------------------------------------------------------
*/

.message-form {

    display: flex;
    gap: 15px;

    padding: 25px;

    background: #071630;

    border-top: 1px solid #13284f;
}

.message-form input {

    flex: 1;

    height: 65px;

    background: #020817;

    border: 1px solid #13284f;

    border-radius: 18px;

    padding: 0 22px;

    color: white;

    font-size: 17px;
}

.message-form input:focus {

    outline: none;

    border-color: #00ffaa;
}

.message-form button {

    height: 65px;

    padding: 0 35px;

    border: none;
    border-radius: 18px;

    background: linear-gradient(
        135deg,
        #00ffaa,
        #00bfff
    );

    color: black;

    font-weight: 700;

    font-size: 16px;

    cursor: pointer;

    transition: 0.3s;
}

.message-form button:hover {

    transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| SCROLLBAR
|--------------------------------------------------------------------------
*/

.messages-box::-webkit-scrollbar,
.messages-sidebar::-webkit-scrollbar {

    width: 8px;
}

.messages-box::-webkit-scrollbar-thumb,
.messages-sidebar::-webkit-scrollbar-thumb {

    background: #00ffaa;
    border-radius: 20px;
}

/*
|--------------------------------------------------------------------------
| RESPONSIVE
|--------------------------------------------------------------------------
*/

@media(max-width: 900px) {

    .messages-layout {

        grid-template-columns: 1fr;
    }

    .messages-sidebar {

        height: auto;
    }

    .messages-content {

        height: 650px;
    }

    .message {

        max-width: 85%;
    }
}

/*
|--------------------------------------------------------------------------
| BOTÓN VENDIDO
|--------------------------------------------------------------------------
*/

.sold-button {

    background: #ff3b3b;

    color: #fff;

    border: none;

    padding: 14px 22px;

    border-radius: 14px;

    font-size: 15px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.3s ease;

    margin-top: 14px;

    box-shadow:
    0 0 20px rgba(255,59,59,0.25);
}

.sold-button:hover {

    background: #ff1f1f;

    transform: translateY(-2px);
}

/*
|--------------------------------------------------------------------------
| BADGE VENDIDO
|--------------------------------------------------------------------------
*/

.sold-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    background: rgba(255,59,59,0.12);

    color: #ff4d4d;

    border: 1px solid rgba(255,59,59,0.35);

    padding: 12px 18px;

    border-radius: 14px;

    font-size: 14px;

    font-weight: 700;

    margin-top: 25px;

    width: fit-content;

    box-shadow:
    0 0 25px rgba(255,59,59,0.12);
}

.message-image img {

    max-width: 260px;
    border-radius: 16px;
    margin-top: 10px;
    border: 2px solid #00ffae;
    display: block;
}

.image-upload-button {

    width: 55px;
    height: 55px;
    border-radius: 16px;
    background: #07142b;
    border: 1px solid #132b52;
    color: #00ffae;
    font-size: 22px;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: 0.2s;
}

.image-upload-button:hover {

    background: #0d1f3d;
    transform: scale(1.05);
}

.image-upload-button input {

    display: none;
}