/* General Styling */



body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #12141d;
    color: #d3d6df;
}

.wrapper {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.sidebar {
    width: 60px;
    background-color: #1a1d26;
    height: 100%;
    transition: width 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-right: 1px solid rgba(255, 255, 255, 0.2); /* The faint line */
}


.sidebar:hover {
    width: 240px;
}

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

.sidebar li {
    padding: 15px;
    cursor: pointer;
}

.sidebar li:hover {
    background-color: #2d3142;
}

.sidebar li a {
    text-decoration: none;
    color: #d3d6df;
    display: flex;
    align-items: center;
}

.sidebar li a .icon {
    font-size: 22px;
    margin-right: 15px;
    color: #ffffff;
}

.sidebar li a .label {
    opacity: 0;
    white-space: nowrap;
    transition: opacity 0.3s;
    font-size: 16px;
}

.sidebar:hover li a .label {
    opacity: 1;
}

/* Main Content Styling */
.main-content {
    flex: 1;
    padding: 20px;
    background-color: #0f1017;
    position: relative;
}

/* Top Navbar Buttons and Logo */
.dashboard-navbar {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    max-width: 100%;
    align-items: center;
}

.dashboard-navbar .btn-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background-color: #1a1d26;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    flex: 1;
}

.dashboard-navbar .btn-container:hover {
    background-color: #2d3142;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.dashboard-navbar .btn-container i {
    font-size: 18px;
    color: #5f87ff;
}

.dashboard-navbar .btn-container .btn-label {
    color: #5f87ff;
    font-size: 14px;
    font-weight: 500;
}

.dashboard-navbar .navbar-logo {
    margin-left: auto;
    padding-right: 20px;
    font-weight: 800;
    font-size: 24px;
    color: #ffffff;
    white-space: nowrap;
}

.navbar-logo img {
    width: 40px;
}

/* Boost Card Styling */
.boost-card {
    background-color: #174c31;
    padding: 15px;
    border-radius: 12px;
    margin-top: 60px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    width: 300px;
    height: 140px;
    position: absolute;
    right: 20px;
}

.boost-card h3 {
    color: #ffffff;
    font-size: 18px;
    margin-bottom: 10px;
}

.boost-card p {
    font-size: 14px;
    color: #d3d6df;
    margin-bottom: 10px;
}

.boost-card .boost-buttons {
    display: flex;
    gap: 10px;
}

.boost-card .boost-buttons button {
    background-color: #28a745;
    color: #ffffff;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.boost-card .boost-buttons button:hover {
    background-color: #218838;
}

.boost-card .learn-more {
    background-color: transparent;
    color: #d3d6df;
    border: none;
    cursor: pointer;
    transition: color 0.3s;
}

.boost-card .learn-more:hover {
    color: #ffffff;
}

/* Add Data Section */
.dashboard-sections {
    display: flex;
    gap: 20px;
    margin-top: 120px;
}

.add-data-section {
    flex: 3;
    background-color: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.add-data-section h3 {
    margin-bottom: 20px;
    color: #d3d6df;
}

.data-options {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.option-card {
    flex: 1;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.option-card .option-icon {
    font-size: 24px;
    color: #5f87ff;
}

.option-card h4 {
    margin-top: 15px;
    font-size: 16px;
    color: #f2f3f5;
}

.upload-section {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    transition: all 0.3s ease;
}

.upload-section:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}


.upload-section h4 {
    margin-bottom: 10px;
    font-size: 18px;
    color: #f2f3f5;
}

.upload-section p {
    margin-top: 10px;
    color: #8a8d9e;
    font-size: 12px;
}

.upload-section input[type="file"] {
    display: none;
}

.upload-section label {
    display: block;
    cursor: pointer;
    padding: 10px;
    background-color: #007bff;
    border-radius: 8px;
    color: #ffffff;
    font-size: 14px;
    margin: 10px auto;
    width: fit-content;
    transition: background-color 0.3s ease;
}

.upload-section label:hover {
    background-color: #005dc1;
}

/* Featured Reads Section */
.featured-reads {
    flex: 1;
    padding-left: 20px;
    margin-top: 140px;
}

.featured-reads h3 {
    font-size: 18px;
    color: #d3d6df;
    margin-bottom: 20px;
}

.read-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    transition: box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
}

.read-card:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.read-card h4 {
    margin-bottom: 8px;
    font-size: 16px;
    color: #f2f3f5;
}

.read-card p {
    font-size: 14px;
    color: #8a8d9e;
}

/* Bottom Sidebar Buttons */
.bottom-buttons {
    padding-bottom: 20px;
    margin-top: auto;
}

.bottom-buttons li {
    padding: 15px;
    cursor: pointer;
}

.bottom-buttons li:hover {
    background-color: #2d3142;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    background-color: #1e1e1e;
    color: #fff;
}

/* Wrapper for Login */
.login-wrapper {
    display: flex;
    height: 100vh;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
}

/* Left Section with Particles */
.left-section {
    width: 50%;
    position: absolute;
    left: 0;
    top: 0;
    height: 100vh;
    z-index: 1;
}

/* Right Section with Form */
.right-section {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50%;
    height: 100vh;
    z-index: 2;
}

.form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
}

/* Toggle Buttons for Login/Sign Up */
.toggle-buttons {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.toggle-buttons a {
    text-decoration: none;
    color: #aaa;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.toggle-buttons a.active,
.toggle-buttons a:hover {
    color: #fff;
    border-bottom: 2px solid #fff;
}

/* JTheta Logo Styling */
h2 {
    margin-bottom: 30px;
    font-size: 2rem;
    font-weight: 700;
}

/* Form Styling */
form input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    background-color: #333;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

form button {
    width: 100%;
    padding: 12px;
    background-color: #000;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #333;
}

/* Forgot Password Link */
.forgot-pass {
    text-align: right;
    margin-bottom: 20px;
}

.forgot-pass a {
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
}

/* Social Login Buttons */
.social-login {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.social-login button {
    flex: 1;
    margin: 0 5px;
    padding: 10px;
    background-color: #444;
    border: none;
    border-radius: 5px;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.social-login button img {
    width: 20px;
    margin-right: 8px;
}

.social-login .google {
    background-color: #db4437;
}

.social-login .github {
    background-color: #333;
}

.social-login button:hover {
    background-color: #555;
}

/* Hover and Focus Effects */
input:focus, button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

/* Adjusting Particles and Bringing them Closer */
#particles-js {
    width: 100vw;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}


.annotation-wrapper {
    display: flex;
    gap: 20px;
    background-color: #1e1e2f;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    align-items: flex-start;
    max-width: 90vw;
    margin: auto;
}

.sidebar {
    background-color: #2d3142;
    padding: 10px;
    border-radius: 12px;
    width: 180px;
}

.sidebar h3 {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ffffff;
}

.object-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.object-buttons button {
    padding: 8px;
    background-color: #3a3f54;
    border: none;
    border-radius: 8px;
    color: #d3d6df;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.object-buttons button:hover {
    background-color: #484c66;
}

.canvas-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #101018;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

canvas {
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.annotation-controls {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

button {
    padding: 10px 20px;
    background-color: #2d3142;
    border: none;
    border-radius: 8px;
    color: #d3d6df;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #3a3f54;
}

.export-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-left: auto;
}

