/* ===========================
   base.css 
=========================== */

/* ===========================
   Global Reset and Box Sizing
=========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

/* ===========================
   General Styling
=========================== */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.25;
    
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, #2C2C2E, #35345A, #4A4A90);
    color: white;
    overflow: auto; /* Ensure the body can scroll if needed */

}


/* ===========================
   Span Styling for Bold Text
=========================== */
span[style*="font-weight:bold"] {
    font-size: 12pt !important;
    color: #9DD6F7;
}

/* ===========================
   Common Link Styling
=========================== */
a {
    color: #9DD6F7;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ===========================
   Common Modal Styling
=========================== */
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 200; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.7); /* Black w/ opacity */
    justify-content: center; /* Horizontal center */
    align-items: center; /* Vertical center */
    backdrop-filter: blur(5px); /* Adds blur effect to background */
    -webkit-backdrop-filter: blur(5px); /* Safari support */
}

/* Show the modal when the 'show' class is added */ 
.modal.show {
    display: flex;
}

/* Modal Content Box */
.modal-content {
    background-color: rgba(44, 44, 46, 0.95); /* Semi-transparent dark background */
    padding: 60px 80px; /* Increased padding */
    border: 6px solid #9DD6F7; /* Blue border to match theme */
    width: 80%; /* Reduced width for smaller size */
    max-width: 700px; /* Maximum width for larger screens */
    border-radius: 15px;
    color: #fdfdfd; /* White text */
    position: relative; /* For positioning the close button */
    max-height: 80vh; /* Max height to prevent overflow */
    overflow-y: auto; /* Scroll if content is too long */
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: scale(1);
}

/* Close Button */
.close-button {
    color: #9DD6F7;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 20px;
    transition: color 0.3s;
}

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

/* Modal Header */
.modal-content h2 {
    color: #9DD6F7;
    margin-top: 0;
    text-align: center;
}

/* Modal Paragraphs */
.modal-content p {
    font-size: 14px !important;
    line-height: 1.5;
    margin-bottom: 15px;
}

/* Responsive Modal Sizing */
@media (max-width: 768px) {
    .modal-content {
        width: 80%; /* Increase width for smaller screens */
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 90%; /* Further increase width for very small screens */
    }

    .modal-content h2 {
        font-size: 20px; /* Adjust heading size */
    }

    .modal-content p {
        font-size: 14px; /* Adjust paragraph size */
    }
}

/* Token Description Styling */
.modal-content .token-description {
    font-size: 0.8em;
    color: #ffffff;
    margin-top: 10px;
    line-height: 1.3;
}

/* ===========================
   Loading Indicator Styling
=========================== */
.pulsating {
    color: #9DD6F7; /* Change to your preferred color */
    animation: pulse 1.5s infinite; /* Adjust duration as desired */
    margin-left: 10px; /* Add space to the left */
    margin-right: 5px; /* Add space to the right */
    margin-bottom: 16px; /* Add space below */
}

.loading-indicator {
    display: flex;
    align-items: flex-start;
    margin-top: 0px; /* Add space above the loading indicator */
    margin-bottom: 0px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.5); /* Increase size */
        opacity: 0.5;          /* Decrease opacity */
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* ===========================
   Additional Common Styles
=========================== */
/* Add any other common styles here */

