/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary-color: #E30A17; /* Vibrant Turkish flag red */
    --dark-color: #111111; /* Coal black */
    --light-color: #FFFFFF; /* White */
    --bg-color: #F8F9FA;
    --gradient-primary: linear-gradient(135deg, #E30A17 0%, #C00812 100%);
    /* Removed mustard yellow and its gradient */
    --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.7;
}

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

section {
    padding: 100px 0;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 15px;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    letter-spacing: 0.5px;
}

.primary-btn {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--box-shadow);
}

.secondary-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(230, 57, 70, 0.2);
}

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

.small-btn {
    padding: 10px 18px;
    font-size: 0.9rem;
}

.section-header {
    text-align: center;
    margin-bottom: 50px; /* Reduced from 70px to 50px for the konsol page */
}

.section-header h2 {
    font-size: 2.7rem;
    position: relative;
    display: inline-block;
}

.section-header h2 span {
    color: var(--primary-color);
}

.section-header p {
    color: #718096;
    font-size: 1.1rem;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    padding: 15px 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

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

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
}

.logo span {
    color: var(--primary-color);
}

/* Logo Link Style */
.logo a {
    text-decoration: none;
    color: inherit;
}

.nav-links ul {
    display: flex;
    list-style: none;
}

.nav-links ul li {
    margin-left: 20px; /* Reduced from 35px to make buttons closer */
}

.nav-links ul li a {
    font-weight: 500;
    position: relative;
}

.nav-links ul li a::after {
    content: '';
    width: 0;
    height: 2px;
    background: var(--primary-color);
    position: absolute;
    left: 0;
    bottom: -5px;
    transition: var(--transition);
}

/* Adjust main navigation text links to be slightly lower */
.nav-links ul li a:not(.konsol-btn):not(.trading-btn):not(.cart-icon) {
    font-weight: 500;
    position: relative;
    padding: 8px 0;
    padding-top: 12px; /* Add extra padding at the top to push text down */
    display: inline-block; /* Ensure the padding is applied properly */
}

.nav-links ul li a:hover::after {
    width: 100%;
}

.fa-bars {
    display: none;
    cursor: pointer;
    color: var(--primary-color);
}

/* Konsol Button in Navigation */
.konsol-btn {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 100px;
}

.konsol-btn:hover {
    background-color: var(--dark-color);
}

.konsol-btn.active {
    background-color: var(--dark-color);
}

.nav-links ul li .konsol-btn::after {
    display: none;
}

/* Trading Button in Navigation */
.trading-btn {
    background-color: var(--dark-color); /* Changed from gray (#718096) to dark/black */
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 100px;
}

.trading-btn:hover {
    background-color: #333333; /* Slightly lighter black on hover */
}

.trading-btn.active {
    background-color: #333333; /* Slightly lighter black when active */
}

.nav-links ul li .trading-btn::after {
    display: none;
}

/* Trading Button color variation */
.red-trading-btn {
    background-color: var(--primary-color) !important;
}

.red-trading-btn:hover {
    background-color: #c00812 !important;
}

/* Special container for button group to ensure consistent spacing */
.nav-button-group {
    display: flex;
    align-items: center;
    gap: 15px;
    height: 40px;
}

/* Hero Section - Updated with Icon */
.hero {
    padding-top: 170px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    position: relative;
    overflow: hidden;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-content h1 span {
    color: var(--primary-color);
}

.hero-content p {
    font-size: 1.2rem;
    color: #4a5568;
    margin-bottom: 35px;
}

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

/* New Hero Icon Styles */
.hero-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.big-icon {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8rem;
    position: relative;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.big-icon:hover {
    transform: translateY(-10px);
}

.icon-overlay {
    position: absolute;
    font-size: 4rem;
    bottom: 50px;
    right: 50px;
    color: white; /* Changed from mustard yellow */
}

/* Stats Section */
.stats {
    background-color: white;
    padding: 40px 0;
    box-shadow: var(--box-shadow);
    border-radius: 16px;
    margin-top: -60px;
    position: relative;
    z-index: 10;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item h3 {
    font-size: 2.7rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-item p {
    color: #718096;
    font-size: 1.1rem;
    margin-bottom: 0;
    font-weight: 500;
}

/* Products Section - Updated for more items */
.products {
    background-color: var(--bg-color);
}

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

/* Ensure consistent spacing with 6 cards */
@media (min-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.product-card {
    background: white;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.product-card:hover {
    transform: translateY(-12px);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: white;
    font-size: 2rem;
}

.product-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.product-card p {
    color: #718096;
    margin-bottom: 25px;
}

/* Product Price Styles */
.product-price {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.price-amount {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-period {
    font-size: 0.9rem;
    color: #718096;
    margin-left: 3px;
}

/* Services Section - Updated with Icons */
.services {
    background-color: white;
}

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

.service-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    background: white;
    padding: 0 0 30px 0;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-8px);
}

/* New Service Icon Styles */
.service-icon {
    width: 100%;
    height: 180px;
    background: var(--gradient-primary); /* Changed from mustard gradient */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; /* Changed from dark color */
    font-size: 5rem;
    margin-bottom: 20px;
}

.service-content {
    padding: 0 30px;
}

.service-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.service-content p {
    color: #718096;
    margin-bottom: 20px;
}

/* About Section - Updated with Icon */
.about {
    background-color: var(--bg-color);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text {
    color: #4a5568;
    line-height: 1.8;
}

/* New About Icon Styles */
.about-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-icon .big-icon {
    background: var(--gradient-primary); /* Changed from mustard gradient */
    color: white; /* Changed from dark color */
}

.about-image img {
    border-radius: 16px;
    box-shadow: var(--box-shadow);
}

/* Testimonials Section - Updated without Photos */
.testimonials {
    background-color: white;
}

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

.testimonial {
    background: var(--bg-color);
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    position: relative;
}

.testimonial:before {
    content: '\201C'; /* Opening quote mark */
    font-family: Georgia, serif;
    font-size: 80px;
    position: absolute;
    opacity: 0.1;
    top: 20px;
    left: 20px;
    color: var(--primary-color);
}

.testimonial-text {
    margin-bottom: 25px;
}

.testimonial-text p {
    font-style: italic;
    color: #4a5568;
    font-size: 1.05rem;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    justify-content: center; /* Changed from flex-end to center */
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 15px;
}

.author-info {
    text-align: center; /* Changed from right to center */
}

.author-info h4 {
    margin-bottom: 5px;
    color: var(--primary-color);
}

.author-info p {
    color: #718096;
    margin-bottom: 0;
    font-size: 0.9rem;
}

/* Call to Action */
.cta {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 70px 0;
    border-radius: 0;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.cta p {
    margin-bottom: 35px;
    font-size: 1.1rem;
}

.cta-btn {
    background: white;
    color: var(--primary-color);
    border: none;
    font-weight: 600;
}

.cta-btn:hover {
    background: var(--dark-color); /* Changed from secondary/mustard to dark */
    color: white; /* Changed text color to white for better contrast */
}

/* Contact Section */
.contact {
    background-color: var(--bg-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.2rem;
}

.social-links {
    display: flex;
    margin-top: 25px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: #e2e8f0;
    color: var(--dark-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--primary-color);
    color: white;
}

/* Footer */
footer {
    background: var(--dark-color);
    color: white;
    padding: 30px 0;
    text-align: center;
}

/* Payment Page Styles */
.payment-section {
    padding-top: 120px; /* Reduced from 150px to 120px to move content up */
    padding-bottom: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    display: flex;
    align-items: center;
    min-height: calc(100vh - 130px); /* Ensure vertical centering */
}

.payment-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin: 0 auto; /* Center the grid */
}

.payment-box {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Ensure all payment boxes have the same minimum height */
.cart-summary, .billing-info, .payment-info {
    min-height: 500px; /* Set a common minimum height */
    align-self: flex-start; /* Align to the top */
}

.payment-form-container {
    background: white;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.payment-form .form-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.payment-form .form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.payment-form h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--dark-color);
    border-left: 4px solid var(--primary-color);
    padding-left: 10px;
}

.payment-form .form-group {
    margin-bottom: 20px;
}

.payment-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.payment-form input[type="text"],
.payment-form input[type="email"],
.payment-form input[type="tel"],
.payment-form textarea,
.payment-form select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.payment-form input:focus,
.payment-form textarea:focus,
.payment-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(227, 10, 23, 0.1);
}

.payment-form .checkbox-group {
    display: flex;
    align-items: center;
}

.payment-form .checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.payment-form .checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-group.half {
    width: 50%;
}

.form-buttons {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.form-buttons .btn {
    flex: 1;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-group.half {
        width: 100%;
    }
    
    .form-buttons {
        flex-direction: column;
    }
}

/* Konsol Login Page */
.konsol-section {
    padding-top: 120px; /* Reduced from 150px to 120px */
    padding-bottom: 100px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
}

.konsol-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.konsol-login {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    text-align: center;
}

.konsol-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin: 0 auto 25px;
}

.konsol-login h3 {
    font-size: 1.6rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.konsol-form {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

/* Input with icon style updates for password toggle */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 15px;
    color: #718096;
}

.input-with-icon input {
    padding-left: 45px !important;
    padding-right: 45px !important; /* Add right padding for password toggle */
}

/* Password toggle button */
.password-toggle {
    position: absolute;
    right: 25px; /* Changed from 15px to 25px to move the eye icon more to the left */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #718096;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 2;
    padding: 0;
    width: 24px;
    height: 24px;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-toggle:focus {
    outline: none;
}

/* Fix input right padding to ensure space for eye icon */
.input-with-icon input[type="password"] {
    padding-right: 45px !important;
}

.forgot-password-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.forgot-password {
    color: var(--primary-color);
    font-size: 0.9rem;
    text-align: center;
}

.konsol-form .checkbox-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 30px;
}

.konsol-form .checkbox-group label {
    margin-bottom: 0;
    margin-right: auto;
}

.konsol-form .btn {
    width: 100%;
}

.register-link {
    margin-top: 25px;
}

.register-link a {
    color: var(--primary-color);
    font-weight: 500;
}

.konsol-features {
    padding: 40px;
    border-radius: 16px;
    background: var(--dark-color);
    color: white;
}

.konsol-features h3 {
    margin-bottom: 30px;
    font-size: 1.6rem;
    position: relative;
    padding-bottom: 15px;
    text-align: center;
}

.konsol-features h3:after {
    content: '';
    position: absolute;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.konsol-features ul {
    list-style: none;
}

.konsol-features ul li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
}

.konsol-features ul li i {
    font-size: 1.8rem;
    margin-right: 15px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.konsol-features ul li h4 {
    margin-bottom: 5px;
    color: white;
}

.konsol-features ul li p {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Cart Icon Styles */
.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    padding: 8px;
}

.cart-icon.active {
    color: var(--primary-color);
}

.cart-count {
    position: absolute;
    top: 0;
    right: -5px;
    background-color: var(--primary-color);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Cart Summary Styles */
.cart-summary {
    background: white;
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: var(--box-shadow);
}

.cart-summary h3 {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 1.4rem;
}

.cart-items {
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart-item-info {
    display: flex;
    align-items: center;
}

.cart-item-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    margin-right: 15px;
}

.cart-item-name {
    font-weight: 500;
}

.cart-item-price {
    font-weight: 600;
}

.cart-remove-item {
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 5px;
    transition: var(--transition);
}

.cart-remove-item:hover {
    transform: scale(1.1);
}

.cart-totals {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.cart-total-row.subtotal, .cart-total-row.tax {
    color: #718096;
}

.cart-total-row.total {
    font-weight: 700;
    font-size: 1.2rem;
    padding-top: 10px;
    border-top: 2px dashed #eee;
    margin-top: 10px;
}

.cart-empty-message {
    text-align: center;
    padding: 20px;
    display: none;
}

.cart-empty-message p {
    margin: 0;
}

.cart-empty-message a {
    color: var(--primary-color);
    font-weight: 500;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero .container,
    .about .container,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-icon,
    .about-icon {
        order: -1;
        margin-bottom: 30px;
    }
    
    .big-icon {
        width: 220px;
        height: 220px;
        font-size: 6rem;
    }
    
    .icon-overlay {
        font-size: 3rem;
        bottom: 40px;
        right: 40px;
    }
    
    .stats .container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        position: static;
        background: transparent;
        height: auto;
        width: auto;
        text-align: center;
        box-shadow: none;
    }
    
    .nav-links ul {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0;
    }
    
    .nav-links ul li {
        margin: 10px 15px;
    }
    
    .fa-bars {
        display: none;
    }

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

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .stats .container {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .big-icon {
        width: 180px;
        height: 180px;
        font-size: 5rem;
    }
    
    .icon-overlay {
        font-size: 2.5rem;
        bottom: 30px;
        right: 30px;
    }

    .konsol-login, .konsol-features {
        padding: 25px;
    }
    
    .konsol-features ul li {
        flex-direction: column;
        text-align: center;
        margin-bottom: 30px;
    }
    
    .konsol-features ul li i {
        margin: 0 auto 15px;
    }
}

/* Updated Payment Page Styles with Side-by-Side Containers */
.payment-section {
    padding-top: 120px; /* Reduced from 150px to 120px to move content up */
    padding-bottom: 80px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    display: flex;
    align-items: center;
    min-height: calc(100vh - 130px); /* Ensure vertical centering */
}

.payment-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    width: 100%;
    margin: 0 auto; /* Center the grid */
}

.payment-box {
    background: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--box-shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Ensure all payment boxes have the same minimum height */
.cart-summary, .billing-info, .payment-info {
    min-height: 500px; /* Set a common minimum height */
    align-self: flex-start; /* Align to the top */
}

/* Update cart summary to match other containers */
.cart-summary {
    margin-bottom: 0;
}

/* Set all form groups in payment containers to be consistent */
.payment-box .form-group {
    margin-bottom: 20px;
}

.payment-box label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.payment-box input,
.payment-box textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
}

.payment-box input:focus,
.payment-box textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(227, 10, 23, 0.1);
}

/* Payment currency note */
.payment-currency-note {
    margin: 20px 0;
    padding: 12px 15px;
    background-color: rgba(227, 10, 23, 0.05);
    border-left: 4px solid var(--primary-color);
    color: #555;
    font-size: 0.9rem;
}

.payment-currency-note p {
    margin: 0;
}

/* Currency conversion styles */
.currency-conversion {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 1.05rem;
    color: #718096;
    padding-left: 15px;
    border-left: 2px solid var(--primary-color);
}

.current-exchange-rate {
    font-weight: 700;
    color: var(--primary-color);
}

/* Responsive adjustments for payment page */
@media (max-width: 1200px) {
    .payment-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .payment-info {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .payment-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .payment-info {
        grid-column: span 1;
    }
    
    .cart-summary, .billing-info, .payment-info {
        min-height: auto; /* Reset height on mobile */
    }
}

/* Add to Cart Button States */
.add-to-cart.in-cart {
    background-color: #718096;
    color: white;
    border: none;
    cursor: not-allowed;
}

.add-to-cart.added {
    background-color: var(--primary-color); /* Changed from green (#10B981) to primary red color */
    color: white;
    border: none;
}

.add-to-cart.added i {
    margin-right: 5px;
    animation: pulse 0.5s ease-in-out;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* Trading Page Styles - Updated padding and removed border-radius */
.trading-section {
    padding-top: 90px; /* Increased from 70px to add more space below header */
    padding-bottom: 30px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    min-height: calc(100vh - 100px); /* Ensure it takes most of the viewport */
}

.trading-container {
    width: 98%; /* Wider than regular containers - almost full width */
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
}

.trading-widgets {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px; /* Reduced from 25px to maximize widget space */
    height: 85vh; /* Taller widgets - use most of viewport height */
}

.trading-widget {
    background: white;
    border-radius: 0; /* Removed border-radius for straight edges */
    overflow: hidden;
    box-shadow: var(--box-shadow);
    height: 100%;
}

.tradingview-widget-container {
    height: 100%;
}

#tradingview_chart1, #tradingview_chart2 {
    height: 100%;
}

@media (max-width: 991px) {
    .trading-widgets {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .trading-widget {
        height: 60vh; /* Taller on mobile */
    }
}

/* Dashboard with Sidebar Layout */
.dashboard-container {
    display: flex;
    gap: 30px;
    height: calc(100vh - 230px); /* Fixed height based on viewport */
    min-height: 600px; /* Minimum height to ensure it doesn't get too small */
}

.sidebar-menu {
    width: 260px;
    flex-shrink: 0;
    background: white;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%; /* Take full height of parent */
}

.dashboard-main-content {
    flex: 1;
    background: white;
    border-radius: 16px;
    box-shadow: var(--box-shadow);
    padding: 0; /* Remove padding from container */
    overflow: hidden;
    display: flex;
    height: 100%; /* Take full height */
}

.user-profile {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    flex-shrink: 0; /* Prevent shrinking */
}

.menu-items {
    list-style: none;
    padding: 20px 0;
    overflow-y: auto; /* Enable scrolling for menu if needed */
    flex-grow: 1; /* Allow to take remaining space */
}

.menu-item a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: #718096;
    transition: all 0.3s ease;
}

.menu-item a i {
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.menu-item.active a, 
.menu-item a:hover {
    color: var(--primary-color);
    background: rgba(227, 10, 23, 0.05);
    border-left: 4px solid var(--primary-color);
}

/* Menu separator line */
.menu-separator {
    height: 1px;
    background-color: rgba(113, 128, 150, 0.2);
    margin: 10px 25px;
}

/* Logout menu item special styling */
.logout-item a {
    color: var(--primary-color) !important;
}

.logout-item a:hover {
    background: rgba(227, 10, 23, 0.1);
}

.content-section {
    display: none;
    width: 100%;
    height: 100%;
    flex-direction: column;
    overflow: hidden; /* Hide overflow */
}

.content-section.active {
    display: flex;
}

/* Section header with fixed height */
.content-section .section-header {
    padding: 30px;
    margin-bottom: 0;
    flex-shrink: 0; /* Prevent shrinking */
    border-bottom: 1px solid #f0f0f0;
    background-color: #fff;
}

/* Dashboard welcome section with fixed height */
.dashboard-welcome {
    padding: 0 30px 20px;
    flex-shrink: 0; /* Prevent shrinking */
}

/* Scrollable content area */
.section-content {
    flex: 1;
    overflow-y: auto; /* Enable vertical scrolling */
    padding: 30px;
}

/* Move all section specific content into scrollable containers */
.dashboard-summary, 
.api-settings, 
.bot-management, 
.reports-content {
    margin-bottom: 20px;
}

/* Additional styling for API settings section to fit inside scrollable area */
.api-settings {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Ensure bot list has proper spacing in scrollable container */
.bot-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

/* Reports section adjustments */
.reports-filters {
    margin-bottom: 30px;
    position: sticky;
    top: 0;
    z-index: 5;
    background: #f8f9fa;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 999;
}

/* Dashboard Summary Cards */
.dashboard-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.summary-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
}

.summary-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.summary-data h4 {
    color: #718096;
    font-size: 1rem;
    margin-bottom: 5px;
}

.summary-data p {
    color: var(--dark-color);
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

/* API Settings Styles */
.api-settings {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-container {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.api-form {
    max-width: 600px;
}

.api-list {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
}

.api-list h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.api-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    background: white;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.api-item-info h4 {
    margin-bottom: 5px;
}

.api-item-info p {
    color: #718096;
    margin: 0;
}

.api-item-actions {
    display: flex;
    gap: 10px;
}

/* Bot Management Styles */
.bot-management {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.bot-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.bot-card {
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
}

.bot-card.active {
    border-color: var(--primary-color);
}

.bot-card-header {
    background: #f1f3f6;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bot-card-header h3 {
    margin: 0;
    font-size: 1.1rem;
}

.bot-status {
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.bot-status.on {
    background: #d4edda;
    color: #155724;
}

.bot-status.off {
    background: #f8d7da;
    color: #721c24;
}

.bot-card-body {
    padding: 20px;
}

.bot-detail p {
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.bot-detail p:last-child {
    margin-bottom: 15px;
}

.profit {
    color: #28a745;
}

.loss {
    color: var(--primary-color);
}

.bot-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.add-bot {
    display: flex;
    justify-content: center;
}

/* Reports Styles */
.reports-filters {
    display: flex;
    gap: 20px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    align-items: flex-end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-item label {
    font-size: 0.9rem;
    color: #718096;
}

.filter-item select {
    padding: 8px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.reports-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.report-card {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.report-card h4 {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.report-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.report-percentage {
    color: #718096;
    font-size: 0.9rem;
}

.reports-chart {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.reports-chart h3 {
    margin-bottom: 20px;
}

/* Responsive Adjustments for Dashboard */
@media (max-width: 992px) {
    .dashboard-container {
        flex-direction: column;
    }
    
    .sidebar-menu {
        width: 100%;
    }
    
    .dashboard-summary,
    .reports-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .dashboard-summary,
    .reports-summary,
    .bot-list {
        grid-template-columns: 1fr;
    }
    
    .reports-filters {
        flex-direction: column;
    }
}

/* Button Loader Styles */
.btn-spinner {
    display: none; /* Hidden by default */
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid #ffffff;
    border-radius: 50%;
    margin-right: 8px;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Button state when loading */
.btn.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn.loading .btn-spinner {
    display: inline-block;
}
