/* General Styling */
body {
    background-color: #1A202C; /* Dark background */
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    color: #E2E8F0; /* Light text */
}

/* Navbar Styling */
.navbar-brand {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.5rem;
    color: #F7FAFC;
}

/* Main Content */
.container {
    background-color: #2D3748; /* Dark container */
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.5);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    font-size: 1rem;
    border-radius: 5px;
    color: #F7FAFC;
}

/* Footer */
.footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #CBD5E0;
}

/* Form Styling */
.form-group label {
    font-weight: bold;
    color: #E2E8F0;
}

/* Dashboard Specific Styling */
.dashboard-content h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 20px;
    color: #F7FAFC;
}

.copy-container {
    text-align: right;
}

.copy-container label {
    font-size: 0.95rem;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    display: inline-block;
}

.form-referral {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    color: #63B3ED;
}

/* Animations */
a.btn {
    transition: all 0.3s ease-in-out;
}
a.btn:hover {
    transform: scale(1.05);
}

/* Dashboard Styles */
.dashboard-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* Card Styling */
.card {
    background-color: #2D3748;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

/* Form Group Styling */

.form-group label {
    font-weight: 600;
    color: #63B3ED;
}

.form-control {
    border-radius: 8px;
    padding: 2px;
    background-color: #4A5568;
    color: #E2E8F0;
}

.risk-form {
    border-radius: 8px;
    padding: 2px;
    background-color: #4A5568;
    color: #E2E8F0;
}

/* Button Styles */
.btn-primary {
    background-color: #2B6CB0;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #3182CE;
    transform: scale(1.03);
}

/* Hero Section with Video */
.hero-container {
    position: relative;
    height: 100vh;
    overflow: hidden;
    text-align: center;
}

.video-header {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
}

.video-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 15s infinite alternate ease-in-out;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #F7FAFC;
    text-shadow: -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000, 2px 2px 0 #000;
    z-index: 1;
}

/* Features Section */
.features-section {
    background-color: #2D3748;
    padding: 60px 0;
}

.feature-card {
    background: #4A5568;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: scale(1.05);
}

/* Feature Icons */
.feature-icon {
    font-size: 40px;
    color: #63B3ED;
    margin-bottom: 20px;
}

/* Button Animations */
.btn-primary {
    background-color: #2B6CB0;
    padding: 12px 25px;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
}

.btn-primary:hover {
    background-color: #3182CE;
    transform: scale(1.05);
}

/* Get Started Page Styles */
.get-started-container {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #2D3748;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.get-started-container h1,
.get-started-container h2,
.get-started-container h3 {
    text-align: center;
    color: #E2E8F0;
}

.get-started-container p {
    text-align: center;
    line-height: 1.6;
    color: #CBD5E0;
}

/* Diagram Section */
.diagram-container {
    text-align: center;
    margin: 20px 0;
}

.diagram-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

/* Step Boxes */
.steps {
    margin-top: 30px;
}

.step-box {
    margin-bottom: 20px;
    padding: 15px;
    background-color: #4A5568;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.step-box h3 {
    margin-top: 0;
    color: #63B3ED;
}

/* Button Container */
.btn-container {
    text-align: center;
    margin-top: 30px;
}

.btn-get-started {
    padding: 10px 20px;
    background-color: #2B6CB0;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin: 5px;
    transition: background-color 0.3s ease, transform 0.2s ease-in-out;
}

.btn-get-started:hover {
    background-color: #3182CE;
    transform: scale(1.05);
}

.pricing-card h5 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #63B3ED;
}

.logo {
    height: 50px;
    width: auto;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-container {
        padding: 20px;
    }

    .hero-text {
        width: 90%;
    }

    .features-section {
        padding: 40px 20px;
    }
}

.box {
    border: 2px solid #ffffff; /* White border for visibility */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* Soft glow effect */
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #2c2c2c; /* Dark grey background */
}

.form-control[readonly] {
    border-radius: 8px;
    padding: 12px;
    background-color: #4A5568;
    color: #E2E8F0;
}

.boxx {
  /* Existing styles */
  margin-bottom: 4;
  padding: 4;
  background-color: dark;
  color: white;
  border-radius: .25rem;
  display: flex;
  flex-direction: column; /* Keep the overall box as a column */
}

/* Style for the container of the two list boxes */
.d-flex {
  display: flex;
  flex-direction: row; /* Arrange children (the two form-group divs) in a row */
  gap: 1em; /* Optional: Add some space between the list boxes */
}

/* Optional: Add some right margin to the first list box for spacing */
.mr-2 {
  margin-right: 0.5em; /* Adjust as needed */
}

/* Optional: Adjust the flex-grow of the list boxes to make them take equal width */
.d-flex > .form-group {
  flex-grow: 1;
}

body {
    background-color: #1a1a1a; /* Dark background similar to OKX */
    color: #e0e0e0;
    font-family: Arial, sans-serif;
}

.d-flex { display: flex; }
.flex-row { flex-direction: row; }
.mt-4 { margin-top: 1.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.gap-2 { gap: 0.5rem; } /* Or use column-gap in CSS */
.gap-3 { gap: 1rem; } /* Or use column-gap in CSS */
.card {
    background-color: #2D3748;
    color: #E2E8F0;
    border-radius: 8px;
    padding: 1rem;
}

/* Styling for your custom resolution buttons */
.resolution-selector button {
    /* Basic button styling to match a dark theme */
    padding: 5px 10px;
    border: 1px solid #4A5568; /* Light grey border */
    background-color: #2D3748; /* Darker background */
    color: #E2E8F0; /* Light text */
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s, border-color 0.2s, color 0.2s;
    font-size: 0.85em; /* Slightly smaller text */
}

.resolution-selector button:hover {
    background-color: #4A5568; /* Slightly lighter on hover */
    border-color: #6A778A;
}

.resolution-selector button.active {
    background-color: #007bff; /* A prominent active color, like blue */
    border-color: #007bff;
    color: white;
    font-weight: bold;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Subtle glow for active */
}

.input-error {
    border-color: #dc3545; /* Red border, matches Bootstrap's danger color */
}