/* styles.css */

/* Global Styles */
body {
    font-family: Arial, sans-serif;
    padding: 0;
    margin: 0;
    background-color: #f0f0f0;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
.alert-text-white {
    color: #fff !important;
}

h1 {
    text-align: center;
}

form {
    margin-top: 20px;
}

form label {
    display: block;
    margin-bottom: -7px;
}

form input[type="text"],
form input[type="email"] {
    width: calc(100% - 16px);
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

form button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

form button:hover {
    background-color: #0056b3;
}

label {
    display: block;
    margin-bottom: 5px;
}

.custom-swal-popup {
    width: 42em !important;
    border-radius: 20px !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2) !important;
    padding: 20px !important;
    background-color: #000000 !important;
}


.red-title {
    color: rgb(11, 187, 34) !important ;
}


textarea {
    width: 100%;
    height: 200px;
    resize: vertical;
    padding: 10px;
    font-size: 9px;
    margin-bottom: 10px;
    border: 1px solid #3ece05;
    border-radius: 7px;
    box-sizing: border-box;
    overflow-x: auto;
    white-space: pre;
}

.btn {
    background-color: #4CAF50;
    color: white;
    padding: 5px 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn1 {
    display: inline-block;
    padding: 10px 20px; /* Adjust padding to control button size */
    font-size: 14px; /* Adjust font size if needed */
    border: none;
    background-color: #2a772c; /* Default button color */
    color: white;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 200px; /* Set a fixed width for all buttons */
    height: 40px; /* Set a fixed height for all buttons */
    margin-bottom: 10px; /* Optional: Adjust margin between buttons */
}

.btn1:hover {
    background-color: #45a049;
}

p {
    margin-bottom: 10px;
}

/* Dark Mode Styles */
.dark-mode {
    background-color: #1e1e1e;
    color: #38fa08;
}

.dark-mode .container {
    background-color: #2a2a2a;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.dark-mode input[type="text"],
.dark-mode input[type="email"],
.dark-mode input[type="number"],
.dark-mode textarea {
    background-color: #333;
    color: #fff;
    border-color: #555;
    }
.dark-mode form label {
    margin-bottom: -7px;
}

/* Dark Mode Button Styles */
.dark-mode-btn {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.dark-mode-btn:hover {
    background-color: #45a049;
}


.dark-mode .btn {
    background-color: #17c211;
}

.dark-mode .btn:hover {
    background-color: #89fc06;
}

/* Footer Styles */
.footer {
    position: fixed; /* Fix the footer to the bottom */
    bottom: 0; /* Align it to the bottom of the page */
    width: 100%; /* Ensure the footer spans the entire width of the page */
    text-align: center; /* Center-align content */
    padding: 5px; /* Add padding for better spacing */
    color: #6c757d; /* Softer text color for better aesthetics */
    font-family: 'Arial', sans-serif; /* Use clean, modern font */
    z-index: 10; /* Ensure it's above other content if needed */
}

.footer p {
    margin: 0; /* Reset margin for consistency */
    font-size: 13px; /* Slightly smaller font size for a subtle look */
    line-height: 1.6; /* Improved line spacing for readability */
}


/* Responsive Styles */
@media (max-width: 768px) {
    .footer {
        padding: 15px; /* Adjust padding for smaller screens */
        font-size: 13px; /* Slightly smaller text on small devices */
    }
}


/* Dark Mode Dropdown Content Styles */
.dark-mode .dropdown-content {
    background-color: #2a2a2a;
    border-color: #555;
}

/* Dark Mode Dropdown Content Label Styles */
.dark-mode .dropdown-content label {
    color: #aaa;
}

/* Dark Mode Dropdown Content Input Styles */
.dark-mode .dropdown-content input {
    background-color: #444;
    border-color: #666;
    color: #fff;
}
/* Toggle Button Container */
.toggle-button {
    margin-bottom: 10px; /* Space below the toggle button */
    text-align: center; /* Center the toggle button within its container */
}

/* Toggle Button Styling */
.btn-toggle {
    background-color: #f44336; /* Red when disabled */
    color: white;
    border: none;
    padding: 8px 16px; /* Adjusted padding for a better fit */
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    font-weight: bold; /* Bold text for better visibility */
    transition: background-color 0.3s ease, transform 0.2s ease; /* Smooth transition */
    width: 100px; /* Fixed width */
    text-align: center;
}

/* Toggle Button Enabled State */
.btn-toggle.active {
    background-color: #4CAF50; /* Green when enabled */
}

/* Hover Effect */
.btn-toggle:hover {
    opacity: 0.9; /* Slightly fade on hover */
    transform: scale(1.05); /* Slightly enlarge on hover */
}

/* Dropdown Content Styling */
.dropdown-content {
    padding: 10px; /* Add padding for better spacing */
}

/* General Button Styling */
.btn1, .btn {
    margin: 5px 0; /* Add vertical spacing */
    padding: 8px 16px; /* Adjust padding */
    border-radius: 5px;
    border: none;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Specific Styles for Dropdown Buttons */
.btn1 {
    background-color: #007bff; /* Example color for primary buttons */
    color: white;
}

.btn {
    background-color: #6c757d; /* Example color for secondary buttons */
    color: white;
}

/* Button Hover Effects */
.btn1:hover, .btn:hover {
    opacity: 0.8; /* Slightly fade on hover */
}

/* General Button Styling */
#theme-toggle-btn {
    display: inline-flex; /* Ensures the button stays on the same line */
    align-items: center; /* Centers items vertically */
    background-color: #f0f0f0; /* Default background color */
    color: #333; /* Default text color */
    padding: 10px 20px; /* Padding */
    border: none; /* Remove border */
    border-radius: 5px; /* Rounded corners to match .dropbtn */
    cursor: pointer; /* Pointer cursor */
    font-size: 16px; /* Font size */
    font-weight: bold; /* Bold text */
    gap: 10px; /* Space between icon and text */
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease; /* Transitions */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Default shadow */
    transform: translateX(-5px); /* Moves the button 2px to the left */
}


/* Button Hover Effects */
#theme-toggle-btn:hover {
    background-color: #ddd; /* Default hover color */
    transform: translateY(-2px); /* Lift effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4); /* Enhanced shadow */
}

/* Dark Mode Button Styles */
.dark-mode #theme-toggle-btn {
    background-color: #333; /* Dark background */
    color: #e0e0e0; /* Light text color */
}

.dark-mode #theme-toggle-btn:hover {
    background-color: #444; /* Darker shade on hover */
}

/* True Dark Mode Button Styles */
.true-dark-mode #theme-toggle-btn {
    background-color: #1f1f1f; /* Darker background */
    color: #e0e0e0; /* Light text color */
}

.true-dark-mode #theme-toggle-btn:hover {
    background-color: #333; /* Even darker shade on hover */
}

/* Icon Styling */
#theme-icon {
    font-size: 18px; /* Icon size */
    transition: color 0.3s ease; /* Smooth color transition */
}

/* Icon Color for Different Modes */
.dark-mode #theme-icon,
.true-dark-mode #theme-icon {
    color: inherit; /* Inherit color from button */
}

/* Settings Menu Style */
.settings-menu {
    position: fixed;
    top: 0;
    left: 0;  /* Move to the left side */
    width: 300px;  /* Width of the settings menu */
    height: 100vh;  /* Full screen height */
    background-color: #34495e;
    box-shadow: 4px 0px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    overflow-y: auto;
    border-radius: 0 10px 10px 0;  /* Rounded corners on the right */
    z-index: 1000;
    transform: translateX(-100%);  /* Initially hidden off-screen */
    transition: transform 0.3s ease;
    color: #ecf0f1;  /* Light text color */
}

/* Active settings menu - makes it appear */
.settings-menu.active {
    transform: translateX(0);  /* Slide the sidebar into view */
}

/* Menu Header */
.settings-menu-header {
    font-size: 22px;
    font-weight: 600;
    color: #ecf0f1;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
}

/* Close Button */
.settings-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: transparent;
    border: none;
    font-size: 24px;
    color: #bdc3c7;
    cursor: pointer;
}

/* Close Button Hover */
.settings-menu-close:hover {
    color: #e74c3c;
}

/* Section for each settings option */
.settings-section {
    margin-bottom: 20px;
}

.settings-section label {
    font-size: 16px;
    color: #ecf0f1;
}

/* Input Fields and Select Dropdowns */
.settings-section input[type="text"], .settings-section select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #7f8c8d;
    border-radius: 8px;
    margin-top: 10px;
    font-size: 14px;
    background-color: #34495e;
    color: #ecf0f1;
}

/* Toggle Button Style */
.toggle-button {
    display: flex;
    justify-content: center;
}

.btn-toggle {
    padding: 10px 20px;
    background-color: red;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

/* Settings Action Buttons */
.settings-section button {
    width: 100%;
    padding: 12px;
    background-color: #2c3e50;
    color: white;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

/* Hover Effects for Buttons */
.settings-section button:hover, .btn-toggle:hover {
    background-color: #1abc9c;  /* Light green on hover */
}

/* Overlay style */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 999;
}

/* Show overlay when settings menu is active */
.overlay.active {
    display: block;
}

/* Button to open the settings menu */
.open-settings-btn {
    position: fixed;
    top: 10px;
    left: 320px;  /* Keep the position to the right */
    background-color: #11b40b;
    color: white;
    font-size: 20px;  /* Slightly smaller font */
    border: none;
    padding: 10px 10px;  /* Slightly larger padding for better button click area */
    border-radius: 50%;  /* Circular button */
    cursor: pointer;
    z-index: 1001;
    transition: background-color 0.3s ease, transform 0.3s ease;  /* Smooth background-color and scale transition */
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);  /* Add subtle shadow for depth */
}

/* Open settings button hover */
.open-settings-btn:hover {
    background-color: #0ecc08;  /* Light green on hover */
    transform: scale(1.1);  /* Slight scale-up effect on hover */
}

/* Open settings button focus */
.open-settings-btn:focus {
    outline: none;  /* Remove outline on focus */
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);  /* Add a subtle focus outline */
}

/* Media query for mobile responsiveness */
@media (max-width: 1540px) {
    .open-settings-btn {
        font-size: 18px;  /* Smaller font size on mobile */
        padding: 6px 6px;  /* Slightly reduced padding */
        left: 4px;  /* Move the button a little more to the right */
        top: 6px;  /* Adjust top for better placement */
        width: 30px;  /* Fix width for a more consistent button size */
        height: 30px;  /* Make the button circular on mobile */
    }
}


/* System Information Styles */
.system-usage {
    top: 20px;
    right: 230px;
    max-width: calc(100% - 40px);
    border-radius: 5px;
    padding: 20px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1);
    font-size: 14px;
    z-index: 1000;
    background-color: #00000000;
}

.system-usage p {
    margin: 10px 0;
}

.system-usage i {
    margin-right: 10px;
}

/* Mobile Styles */
@media only screen and (max-width: 600px) {
    .system-usage {
        top: auto;
        bottom: -19px;
        right: 25px;
        max-width: calc(100% - 40px);
        padding: 15px;
        font-size: 12px;
    }
}


/* Last Claim Button Styles */
#last-claim-btn {
    margin-top: 20px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Slightly darker overlay */
    animation: fadeIn 0.4s ease-out; /* Modal fade-in effect */
}

/* Modal Content */
.modal-content {
    background-color: #ffffff;
    margin: 10% auto;
    padding: 30px;
    border: none;
    width: 90%;
    max-width: 450px; /* Increased width for better layout */
    border-radius: 12px; /* Slightly rounder corners */
    box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2); /* Softer shadow */
    animation: modalSlideUp 0.3s ease-out; /* Smooth animation for modal content */
}

/* Input Fields and Select Dropdown */
input[type="text"], input[type="email"], select {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 2px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus, input[type="email"]:focus, select:focus {
    border-color: #4CAF50; /* Green border on focus */
    outline: none;
}

/* General Button Styles */
.icon-btn {
    display: inline-flex; /* Align the icon with the button */
    justify-content: center; /* Center the icon inside the button */
    align-items: center; /* Vertically align the icon */
    width: 30px; /* Slightly smaller size */
    height: 30px; /* Slightly smaller size */
    font-size: 1.2rem; /* Adjusted icon size */
    border: none; /* Remove default border */
    border-radius: 50%; /* Make the button circular */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 0.3s ease-in-out; /* Smooth transition for all properties */
    margin: 5px; /* Space between buttons */
    outline: none; /* Remove outline on focus */
}

/* Default Normal Mode (Black Background) */
.icon-btn {
    background-color: #333; /* Black background */
    color: white; /* White icon */
}

/* Dark Mode (Greenish Background) */
.true-dark-mode .icon-btn, .dark-mode .icon-btn {
    background-color: #2db612; /* Greenish background for dark mode */
    color: white; /* White icon */
}

/* True Dark Mode (White Background) */
.true-dark-mode .icon-btn {
    background-color: #fff; /* White background for true dark mode */
    color: #333; /* Dark icon for contrast */
}

/* Hover Effect */
.icon-btn:hover {
    transform: translateY(-4px); /* Slight lift effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3), 0 8px 15px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}

/* Active State */
.icon-btn:active {
    transform: translateY(2px); /* Slight push effect when clicked */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 4px 6px rgba(0, 0, 0, 0.1); /* Reduced shadow on click */
}

/* Focus State (when focused by keyboard or mouse) */
.icon-btn:focus {
    outline: 3px solid #28a745; /* Green outline when focused */
}


/* Dark mode */
.dark-mode .modal-content {
    background-color: #1f1f1f;
    margin: 10% auto;
    padding: 30px;
    border: none;
    width: 60%;
    max-width: 400px;
    border-radius: 15px;
    animation: modalopen 0.4s;
}



@keyframes modalopen {
    from {opacity: 0;}
    to {opacity: 1;}
}


.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.footer-links a {
    color: #000 !important ;
    text-decoration: none;
    margin-right: 10px;
}

.alert-text-white .footer-links a {
    color: #fff !important ;
}

/* H1 Styles */
h1 {
    text-align: center; /* Center-align the heading */
    position: relative; /* Retain relative positioning for additional styling */
    font-size: 2.5rem; /* Larger and bold font size for impact */
    font-weight: bold; /* Emphasize the text */
    color: #000000; /* Deep green for professional aesthetics */
    text-transform: uppercase; /* Uppercase letters for a bold statement */
    letter-spacing: 2px; /* Add spacing between letters for a sleek look */
    margin-bottom: 20px; /* Add space below the heading */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Clean, modern font */
    display: block; /* Makes the H1 block-level, ensuring it spans the full width */
    width: 100%; /* Ensures the H1 takes up the full width */
}

/* Version Info Styles */
#version {
    display: inline-block; /* Makes the span behave like a button or label */
    margin-top: -6px; /* Reduced space for better vertical alignment */
    padding: 5px 10px; /* Add inner padding for a button-like effect */
    background-color: #f1f1f1; /* Soft gray background for contrast */
    color: #181b19; /* Green accent color for the text */
    font-size: 1rem; /* Slightly smaller font for subtle styling */
    font-weight: bold; /* Make it stand out */
    border: 2px solid #272c28; /* Green border matching the text color */
    border-radius: 5px; /* Rounded corners for a clean look */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    transition: all 0.3s ease-in-out; /* Smooth hover animation */
    font-family: 'Courier New', Courier, monospace; /* Techy font for version */
    vertical-align: middle; /* Align it vertically to the middle */
}

/* Version Info Hover Effect */
#version:hover {
    background-color: #343d36; /* Green background on hover */
    color: #fff; /* White text on hover */
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Enhance shadow on hover */
}



/* Normal Mode: Update text color for better readability */
.true-dark-mode h1, .dark-mode h1 {
    color: #ffffff; /* White text for contrast in dark mode */
}

/* Version Info Styles for Dark Mode */
.dark-mode #version {
    background-color: #333333; /* Darker background for version info */
    color: #28a745; /* Green text for readability */
    border: 2px solid #28a745; /* Green border */
}

/* Hover Effect for Dark Mode */
.true-dark-mode #version:hover, .dark-mode #version:hover {
    background-color: #28a745; /* Green background on hover */
    color: #fff; /* White text on hover */
}



.info-box {
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
}

/* Important Information Box (Console Output Style) */
.top-right {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 320px; /* Fixed width for consistency */
    padding: 20px;
    border-radius: 15px; /* More rounded corners */
    font-size: 15px; /* Better readability */
    font-family: 'Courier New', Courier, monospace; /* Monospace for terminal feel */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); /* Depth */
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 9999;
    background-color: #fff; /* Optional: Background for better contrast */
}

/* Hover effect for the information box */
.top-right:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.5);
}

/* Focused State */
.top-right:focus {
    outline: none;
    border-color: #80e27e;
    box-shadow: 0 0 15px rgba(128, 226, 126, 0.6);
}

/* Text inside top-right should wrap or truncate properly */
.top-right p {
    margin-bottom: 8px;
    word-break: break-word;
}

/* Specific style for the enode URL */
#enode-url {
    display: inline-block;
    max-width: 100%;
    word-break: break-all;
    white-space: normal;
    overflow-wrap: anywhere;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
    cursor: pointer;
}

.copy-button {
    all: unset; /* Remove all default styles */
    position: absolute; /* Position it on top of the text */
    width: 100%; /* Ensure it covers the entire parent element */
    height: 100%; /* Ensure it covers the entire parent element */
    top: 0;
    left: 0;
    cursor: pointer; /* Ensure it's still clickable */
    z-index: 1; /* Ensure it's on top of other elements */
    visibility: hidden; /* Make it completely invisible but still take up space */
}





.btn:hover, .dropbtn:hover {
    background-color: #366634;
    color: #e0e0e0;
}

.dark-mode .dropdown-content {
    background-color: #444;
}

.dark-mode .top-right, .dark-mode .username-display {
    background-color: #333;
    border-color: #666;
}

/* True Dark Mode Styles */
.true-dark-mode {
    background-color: #000000;
    color: #e0e0e0;
}

.true-dark-mode .container {
    background-color: #1a1a1a;
    box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1);
}

.true-dark-mode input[type="text"],
.true-dark-mode input[type="email"],
.true-dark-mode input[type="number"],
.true-dark-mode textarea {
    background-color: #333;
    color: #e0e0e0;
    border-color: #555;
}

.true-dark-mode form label {
    color: #e0e0e0; /* Light Grey Label Text */
}

/* True Dark Mode Button Styles */
.true-dark-mode-btn {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.true-dark-mode-btn:hover {
    background-color: #45a049;
}

.true-dark-mode .btn {
    background-color: #17c211;
}

.true-dark-mode .btn:hover {
    background-color: #89fc06;
}

/* True Dark Mode Dropdown Content Styles */
.true-dark-mode .dropdown-content {
    background-color: #333;
    border-color: #555;
}

/* True Dark Mode Dropdown Content Label Styles */
.true-dark-mode .dropdown-content label {
    color: #aaa;
}

/* True Dark Mode Dropdown Content Input Styles */
.true-dark-mode .dropdown-content input {
    background-color: #444;
    border-color: #666;
    color: #e0e0e0;
}

/* True Dark Mode Modal Styles */
.true-dark-mode .modal-content {
    background-color: #1f1f1f;
    margin: 10% auto;
    padding: 30px;
    border: none;
    width: 60%;
    max-width: 400px;
    border-radius: 15px;
    animation: modalopen 0.4s;
}

/* True Dark Mode Top Right Box and Username Display Styles */
.true-dark-mode .top-right, 
.true-dark-mode .username-display {
    background-color: #1a1a1a;
    border-color: #555;
}

/* True Dark Mode Dropdown Hover Effect */
.true-dark-mode .dropdown-content a:hover {
    background-color: #333;
    border-radius: 3px;
}


@media (max-width: 1600px) {
    .top-right, .username-display {
        position: static;
        width: 100%;
        margin-top: 20px;
        margin-right: 0;
        margin-left: 0;
        box-sizing: border-box;/
    }
}

@media (max-width: 480px) {
    .top-right, .username-display {
        padding: 10px;
    }
}
*, *:before, *:after {
    box-sizing: border-box;
}



/* SweetAlert custom popup */
.custom-swal-popup {
    opacity: 0.9;
    pointer-events: auto;
    z-index: 1050;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    font-family: Arial, sans-serif;
    font-weight: bold; /* Make text bold */
    color: #FFFFFF; /* White text */
    background-color: rgba(0, 0, 0, 0.8); /* Dark background for contrast */
}


/* Highlight effect */
.highlight {
    outline: 3px solid #ffcc00;
    outline-offset: 5px;
    animation: pulse 1s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 204, 0, 0.5);
    }
    100% {
        box-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
    }
}

/* Spinner styling */
.loading-spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    display: block;
    margin: 0 auto;  /* Center the spinner horizontally */
    position: absolute; /* To position the spinner in the middle */
    top: 50%; /* Vertically center */
    left: 50%; /* Horizontally center */
    transform: translate(-50%, -50%); /* Adjust for exact centering */
}

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

/* Styling for the total NFT count container */
.total-nft-container {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Adds space between the spinner and the text */
}

/* Style for total NFT count text */
#total-nft-count {
    font-size: 18px;
    color: #333;
}

/* Inputs inside modal */
#bugDescription, #contactHandle {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Submit Button */
#submitBug {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 5px;
    background-color: #28a745;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}
#submitBug:hover {
    background-color: #218838;
}
