html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
    background-color: #121212;
    font-family: Arial, sans-serif;
    color: white;
}

:root {
    --accent-pink: #ff8aff;
    --dark-bg: #121212;
    --panel-bg: #1e1e2f;
}

/* Top bar */
.top-bar {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    background-color: var(--dark-bg);
    position: relative; /* Required to position the gradient line absolutely */
    gap: 20px; /* Adjust as needed */
}

/* Gradient line under the top bar */
.top-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px; /* Adjust the thickness of the gradient line */
    background: linear-gradient(to right, rgba(255, 138, 255, 0.7), rgba(138, 43, 226, 0.7));
}

/* Logo Styling */
.aurora-logo-topbar {
    width: 200px;
    margin-right: 20px;
    margin-top: 5px;
}

.aurora-logo-topbar:hover {
    transform: scale(1.05); /* Slight zoom and rotation */
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.3); 
    transition: all 0.3s ease-in-out;
}

/* Dropdown Container */
.dropdown-container {
    /* Removed margin-left to ensure consistent spacing */
    /* margin-left: 30px; */
    display: flex;
    gap: 10px;
}

/* Add margin-right to Crypto Selector for consistent spacing */
.crypto-selector-container {
    margin-right: -10px; /* Creates a 10px gap between Crypto Dropdown and Indicators Dropdown */
}

/* Timeframe Buttons Styling */
.timeframe-buttons {
    display: flex;              /* Enables horizontal layout */
    gap: 5px;                  /* Space between buttons */
    /* Removed margin-left: 30px; to align properly after dropdown-container */
    /* margin-left: 30px; */
    margin-right: 20px;         /* Keeps space from the right end */
    align-items: center;        /* Vertically centers the buttons */
}

/* Default button styles */
.timeframe-button {
    background-color: var(--dark-bg);
    border: none;
    color: white;
    padding: 8px 16px;          /* Adjusted padding for better spacing */
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;         /* Rounded corners for better aesthetics */
    transition: all 0.3s ease-in-out;
}

/* Hover Effects */
.timeframe-button:hover, .charttype-button:hover, .indicator-button:hover {
    background-color: #ffffff;
    color: black;
}

/* Glow effect when selected */
.timeframe-button.selected {
    background-color: #ffffff; /* Bright color for selection */
    color: black;
    box-shadow: 0 0 25px #d138ff;
    transform: scale(1.05); /* Slightly enlarge the button */
}

/* General Button Styling */
button {
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.3s;
    border-radius: 5px;
    font-weight: bold;
}

/* Price Information Styling */
.price-info {
    margin-left: auto; 
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: bold;
}

.selected-coin-price-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    filter: brightness(1.2);
    transition: all 0.3s ease-in-out;
}

.selected-coin-price-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px #d138ff
}

.percentage-green {
    color: #00ff00;
}

.percentage-red {
    color: #ff0000;
}

.percentage-white {
    color: #ffffff;
}

.main-layout {
    background-color: var(--dark-bg);
}

.contact-section {
    margin-top: 10px;
    margin-left: 100px;
    margin-right: 150px;
    padding: 5px;
    background-color: #1e1e2f;
    border-radius: 10px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.contact-title {
    font-size: 24px;
    margin-bottom: 10px;
}

.contact-description {
    font-size: 16px;
    margin-bottom: 20px;
}

.contact-details {
    font-size: 14px;
}

.contact-details ul {
    list-style: none;
    padding: 0;
}

.contact-details li {
    margin-bottom: 5px;
}

.contact-link {
    color: #BF40BF; /* Pink accent color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ffffff; /* Bright white on hover */
    text-decoration: underline; /* Underline on hover for clarity */
}

/* Background Image */
.home-container {
    position: relative;
    height: 100vh;
    background: url('/assets/bg.jpeg') no-repeat center center fixed;
    background-size: cover; /* Ensures the image covers the screen */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    z-index: 1; /* Ensures content appears on top */
}

/* Optional: Overlay to improve text readability */
.home-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Adds a subtle dark overlay */
    z-index: -1; /* Ensures the overlay stays behind content */
}

/* Hero Section */
.hero-section {
    text-align: center;
    z-index: 2;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 60px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: 10px;
}

.hero-subtitle {
    font-size: 20px;
    color: #b3b3b3;
    max-width: 400px;
    margin: 0 auto;
}

/* Search Box */
.search-container {
    margin: 0px;
}

.search-box {
    width: 350px;
    padding: 8px 12px; /* Added padding for better spacing */
    font-size: 18px;
    border: none;
    background-color: #ffffff; /* White background for the box */
    color: #555555; /* Dark gray text color */
    outline: none; /* Removes default browser outline */
    border-radius: 15px; /* Rounded edges */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); /* Subtle box shadow */
    transition: all 0.3s ease-in-out;
}

.search-box::placeholder {
    color: #555555; /* Darker placeholder text */
    opacity: 0.7; /* Slightly transparent for distinction */
}

.search-box:hover {
    transform: scale(1.05); /* Slight zoom and rotation */
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.6)
}

/* Home Logo Container */
.home-logo-container {
    position: absolute; /* Top-left fixed position */
    top: 20px;
    left: 20px;
    z-index: 10; /* Keeps it above other elements */
}

/* Logo Styling */
.home-logo {
    width: 200px; /* Adjust the size as needed */
    height: auto;
    background: none; /* Ensures no background */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth animation for transform and shadow */
}

.home-logo:hover {
    transform: scale(1.05); /* Slight zoom and rotation */
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.6); 
}



/* Candlestick Chart */
#candlestick-chart {
    margin: 10px;
}
