:root {
    --background-image: url('images/background.png');
}

a.hidden-link {
    font-size: 0.01px;
    opacity: 0.01;
    color: transparent;
}

a {
    color: #0094AE;
}

/* 🌌 Background Styling */
body {
    background-image: var(--background-image);
    /* Your chosen background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
}

/* 🎭 Blurred Background Animation */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--background-image);
    /* Explicitly set image */
    background-size: cover;
    background-position: center;
    filter: blur(2px);
    /* Start with slight blur */
    animation: dynamicBlur 8s infinite ease-in-out;
    /* Creates blur transition effect */
    z-index: -1;
}

/* .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    max-width: 750px;
} */

footer {
    background: none;
    /* ✅ Removes banner background */
}

html, body {
    overflow-x: hidden;
    /* Removes horizontal scrolling */
}

section {
    background: none;
    padding: 3rem 0;
}


.bg-gray {
    background-color: #6B7280;
    /* ✅ Matches results section */
}

.btn {
    display: inline-block;
    width: 220px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    padding: 13px 0;
    border-radius: 6px;
    text-decoration: none;
    text-transform: none;
    text-align: center;
    box-sizing: border-box;
    color: #000000;
    /* Approximation of $cyan-600 */
    border: none !important;
}

.btn-primary {
    background-color: #0094AE !important;
    /* Approximation of $cyan-600 */
    border: none !important;
}

.btn-primary:hover {
    background-color: #04768a !important;
    /* Approximation of $cyan-600 */
    border: none !important;
    color: #fff !important;
    transition: background-color 0.3s ease-in-out;
}

.btn-info {
    background-color: #0094AE !important;
    color: #fff !important;
}

.btn-info:hover {
    background-color: #04768a !important;
    transition: background-color 0.3s ease-in-out;
}

.copy-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    margin-left: 10px;
}

.copy-icon {
    cursor: pointer !important;
    /* Ensures the mouse changes to a pointer */
}

.copy-icon:hover {
    color: #FFD700;
    /* Gold color on hover */
    opacity: 0.7 !important;
    transition: opacity 0.3s ease-in-out;
}

.copy-icon:active {
    color: #FF4500;
    /* Orange-red on click */
    opacity: 0.6;
}

.copyright {
    text-align: center;
    display: inline-block;
    margin-bottom: 0px;
    font-size: 18px;
}

.fixed-container {
    width: 400px !important;
    width: 80% !important;
    margin: auto;
}

.form-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    width: 100%;
}

.form-section h2 {
    text-align: center;
    /* ✅ Centers text horizontally */
    margin-bottom: 10px;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.hero {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    /* Semi-transparent black background */
}

/* Custom Checkbox Styles */
.custom-checkbox-group {
    display: flex;
    align-items: center;
}

.custom-checkbox-group .form-check-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 500;
    cursor: pointer;
}

.custom-checkbox-group .form-check-input.custom-checkbox {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 0.25rem;
    border: 2px solid #6c757d;
    background-color: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.custom-checkbox-group .form-check-input.custom-checkbox:checked {
    background-color: #0094AE;
    border-color: #0094AE;
}

.recent-names {
    padding: 1rem;
}

.recent-names .item {
    background-color: #17a2b8;
    /* Info-colored list items */
    color: white;
    border: 1px solid #117a8b;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}


.hero a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.hero a:hover {
    color: #0094AE;
    /* Gold color on hover */
}

/* 📜 Styling for Generated Name List */
.list-group-item {
    background-color: #17a2b8;
    /* Info-colored list items */
    color: white;
    border: 1px solid #117a8b;
}

.logo {
    max-height: 200px;
    /* ✅ Adjust the size as needed */
    width: auto;
    display: block;
    /* ✅ Ensures it's centered */
    margin: 0 auto;
    /* ✅ Keeps it aligned properly */
}

.logo-container {
    display: block;
    text-align: center;
    margin: 0;
    padding: 0;
}

.name-item {
    display: flex;
    justify-content: space-between;
    /* Pushes copy icon to far right */
    align-items: center;
    padding: 8px 12px;
}

.name-text {
    flex-grow: 1;
    /* Ensures name fills space dynamically */
}

@keyframes dynamicBlur {
    0% {
        filter: blur(2px);
    }

    /* Slight blur */
    50% {
        filter: blur(5px);
    }

    /* Stronger blur */
    100% {
        filter: blur(2px);
    }

    /* Back to slight blur */
}

/* ✨ Fade-in Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    /* Start fully hidden */
    to {
        opacity: 1;
    }

    /* End fully visible */
}

input[type="text"] {
    background-color: #f8f9fa;
    /* Light gray */
    color: #333;
    /* Dark gray */
    border: 1px solid #ccc;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
    height: 40px;
}

input:focus {
    background-color: #222;
    /* Darker shade */
    color: #fff;
    /* Ensure text remains visible */
    border-color: #17a2b8;
    /* Matches your list-group-item color */
    outline: none;
    box-shadow: 0 0 5px #17a2b8;
}

input:focus::placeholder {
    color: transparent;
    /* Hide placeholder text only on focus */
}

input::placeholder {
    color: #bbb;
    /* Light gray for better contrast */
    font-style: italic;
}

#nameList li {
    background-color: #0891b2 !important;
    /* Cyan 600 */
    color: white !important;
    /* Ensures text stays readable */
    padding: 8px;
    border-radius: 5px;
    margin-bottom: 5px;
    /* Space between list items */
}

#nameGeneratorForm {
    /* Adjust this value for more or less space */
    background-color: #6B7280;
    /* Gray 500 */
}

#results {
    display: block;
    background-color: #6B7280;
    /* Gray 500 */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 5px;
    /* ✅ Reduce spacing below */
    padding-bottom: 5px;
    /* ✅ Adjust inner spacing */
}

#statusMessage {
    text-align: center;
    /* Centers text */
    display: block;
    /* Ensures visibility */
    width: 100%;
    /* Allows full-width alignment */
    margin: 10px auto;
    /* Centers the element if it's block-level */
}