.full-page-blue {
    width: 100%;
    height: 92vh; /* Full viewport height */

    background: linear-gradient(
            to bottom,
            rgba(10, 12, 15, 0.5), /* Top color with 80% opacity */ rgba(28, 30, 38, 0.5), /* Middle color with 70% opacity */ rgba(14, 14, 14, 1) /* Bottom color with 60% opacity */
    );


    display: flex;

}

.Navbar_logo {
    height: 25px; /* Adjust the size of the logo */
    margin-right: 5px; /* Space between the logo and the text */
}

.Navbar_logo_footer {
    height: 50px; /* Adjust the size of the logo */
    margin-right: 5px; /* Space between the logo and the text */
}




body {
    min-height: 100vh;
    color: #ffffff; /* Ensures text is visible on the dark background */
}

body textarea {
     width: 100%;
    height: 12vh;
    padding: 0.7vw;

    border-radius: 5px;
    font-size: 14px;
    background: transparent;

    color: #ffffff;
    border: 1px solid #333333; /* Subtle border */
    transition: border-color 0.2s ease-in-out;
}

body input{
    all: unset;
            background: transparent;
            padding: 0.9vh 0.7vw;
            font-size: 0.9rem;
            border: 1px solid #212121;
            border-radius: 7px;
            box-sizing: border-box;

}


body input::placeholder, textarea::placeholder {
    color: #a1a1a1;
}

input:focus, textarea:focus {
    border-color: #515151;
            box-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

input::selection, textarea::selection {
    background: rgba(74, 144, 226, 0.5); /* Light blue */
    color: #ffffff; /* White text */
}

.sidebar {
    width: 100%;
    /*background: linear-gradient(*/
    /*        to bottom right,*/
    /*        rgba(5, 5, 5, 0.8),*/
    /*        rgba(20, 20, 20, 1)*/
    /*);*/
    /*border: 0.1px solid #212121;*/
    /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);*/
    display: flex;
    flex-direction: column;
    height: fit-content;
    align-self: flex-start;
    text-decoration: inherit;
    position: relative;

}

#pdfViewer {
    border: none;
    border-radius: 8px;
    width: 100%;
    aspect-ratio: 1 / 1.2941;
    margin-top: 0px;
}

.right-card {


    border-radius: 8px;
background: linear-gradient(
            to bottom,
            rgba(10, 12, 15, 0.5), /* Top color with 80% opacity */ rgba(24, 26, 34, 0.5), /* Middle color with 70% opacity */ rgba(14, 14, 14, 1) /* Bottom color with 60% opacity */
    );
    display: flex;
    flex-direction: column;
    height: auto;
    padding-top: 2vh;

    width: 33vw; /* Dynamically adjusts based on content */
    max-width: 100%; /* Ensures it doesn't exceed the parent/container width */
    align-self: flex-start;
    text-decoration: inherit;
}


.sidebar a {
    display: block;
    padding: 1.6vh 1vw;


    border-right: 1px solid #444;
    /*border-bottom: 0.1px solid #212121;*/
    text-decoration: inherit;

    transition: background 0.1s, color 0.1s; /* Smooth transition for background and text color */
    /*padding-left: 15.5vw;*/
    text-align: right;
    font-size: 0.9rem;
    color: #a1a1a1;
}

.sidebar a:hover {
    background: #000000;
    color: #ffffff; /* White text color */

}

.sidebar a.active {
    background: transparent; /* Black background on hover or active */
    border-right: none;
    border-bottom: 0.1px solid #444;
    border-top: 0.1px solid #444;
    font-size: 1rem;
    font-weight: 550;
    color: #ffffff; /* White text color */
}

.content {
    padding: 1.5vw;
    padding-top: 0;

    background: none;
    /*border: 0.1px solid rgba(255, 255, 255, 0.2);*/


    /*border-radius: 8px;*/

    /*box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);*/


    backdrop-filter: blur(100px); /* Optional: adds a frosted glass effect */
    display: flex; /* Flexbox layout */
    flex-direction: column; /* Stack child elements vertically */
    align-items: stretch; /* Ensure children take up the full width */
    width: 46.5vw; /* Fixed width */
    height: 60vh; /* Fixed height for scrollable area */
    overflow-y: auto; /* Enable vertical scrolling */
    overflow-x: hidden; /* Prevent horizontal scrolling */
    min-height: 0; /* Prevent unnecessary minimum height constraints */
    position: relative; /* Ensure .content acts as a positioned ancestor */


}

.add-button {
    margin: -1.2vh 0 0 0;
    border: 0.1px solid #333;
    border-radius: 50%;
    background: none;
    height: 4.1vh;
    width: 4.1vh;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.add-button:hover {
    background: #4f4f4f;
}



.send-button {
    position: absolute;
    bottom: 10px; /* Moves the button 10px from the bottom */
    right: 8px;
    width: 40px; /* Button size */
    height: 40px;
    background: #5a5a5a; /* Grey button background */
    border: none;
    border-radius: 50%; /* Makes it circular */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease-in-out, opacity 0.2s;
}

.send-button:hover {
    background: #777; /* Slightly lighter on hover */
}

.send-button svg {
    width: 20px;
    height: 20px;
    color: black; /* Black arrow */
}

.undo-button {
    position: absolute;
    bottom: 10px; /* Moves the button 10px from the bottom */
    right: 56px;
    width: 40px;
    height: 40px;
    background: #5a5a5a;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}

.undo-button:hover {
    background: #777;
}

.tooltip {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(50, 50, 50, 0.9);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s;
}

.undo-button:hover .tooltip {
    visibility: visible;
    opacity: 1;
    transition-delay: 1s; /* Delay before appearing */
}


.card {

    background: linear-gradient(
            to bottom right,
            rgba(7, 7, 11, 0.7),
            rgba(20, 20, 20, 0.7)
    );
    border: 0.1px solid #212121;
    border-radius: 8px;
    padding: 1.5vw;
    margin-top: 2vh;
    width: 100%;

}


.card .inputs {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    gap: 1vw; /* Add space between label-input pairs */


}

.content h1 {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: bold;
}

.contentHeader h1 {
    font-size: 1.4rem;
    padding-left: 0.5vw;
    color: #ffffff;
    font-weight: 500;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.card-header h2 {
    font-size: 0.9rem;

    font-weight: 500;
    color: #F8F4F1;
}

.card-header .date-range {
    font-size: 0.8rem;
    color: #a1a1a1;
    margin-top: 0.5vh;
    text-transform: capitalize;
}

.toggle-icon {
    font-size: 1rem;
    color: #aaa;
    transform: rotate(0);
    transition: transform 0.3s ease;
}

.toggle-icon.minimized {
    transform: rotate(-90deg);
}

/* Hide triangle toggle icon on resume builder cards */
.toggle-icon { display: none !important; }


.card-body {
    transition: height 0.3s ease;
    height: auto; /* Default to visible */
    overflow: hidden; /* Prevent content overflow during animation */
}

.card-body.hidden {
    height: 0; /* Set height to 0 when minimized */
    padding: 0; /* Remove padding for a smooth collapse */
}

/* Card Hover Effect for Minimized Cards */
.card.minimized:hover {
    transform: translateY(-5px);

}


.row {
    display: flex;
    flex-wrap: wrap;
    flex: 1;
    gap: 20px;
    margin-bottom: 0.7vh;

}

.column {
    flex: 1;

}

label {
    display: block;
    margin-top: 0.7vh;
    margin-bottom: 0.1vh;
    font-size: 0.8rem;
    color: #ccc;
}





/* Styling for the container */
.info-container {
    display: flex;
    align-items: center; /* Align items vertically */
    gap: 8px; /* Add space between label and icon */
    position: relative; /* Relative positioning for the popup */
}

/* Styling for the label */
.info-container label {
    font-size: 14px;
    color: #EAEAEA; /* Light text color */
    font-family: 'Arial', sans-serif;
}

/* Styling for the information icon */
.info-icon {
    font-size: 16px;
    color: #EAEAEA; /* Light contrast for icon text */
    padding: 8px;
    border-radius: 50%;
    background-color: #1A1A1A; /* Dark background for icon */
    display: inline-block;
    text-align: center;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Subtle shadow for depth */
    cursor: pointer; /* Add pointer cursor */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-icon:hover {
    transform: scale(1.1); /* Slight scale effect on hover */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6); /* Enhanced shadow on hover */
}

/* Styling for the popup */
.info-popup {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Position below the icon */
    left: 50%;
    transform: translateX(-50%);
    background-color: #000000; /* Superior black background */
    color: #EAEAEA; /* Light contrast for text */
    padding: 12px 16px;
    border-radius: 8px; /* Rounded edges for elegance */
    font-size: 14px;
    font-family: 'Arial', sans-serif;
    white-space: nowrap;
    z-index: 1000;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7); /* Deep shadow for a superior feel */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Arrow for the popup */
.info-popup::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent #000000 transparent; /* Match popup background */
}

/* Show popup on icon hover */
.icon-container:hover .info-popup {
    display: block;
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 768px) {
    .row {
        flex-direction: column;
    }

    .column {
        min-width: 100%;
    }
}

.right-card h2 {
    margin: 0 0 10px;
    font-size: 18px;
    text-align: center;
}

.right-card p {
    text-align: center;
    color: #555;
}


/* Skills Dropdown */
.skills-dropdown {
    border: 1px solid rgba(50, 60, 75, 0.4); /* soft bluish-gray */
    border-radius: 5px;
    max-height: 150px;
    overflow-y: auto;
    list-style-type: none;
    padding: 5px;
    margin: 0;
    background: linear-gradient(
        to bottom right,
        rgba(28, 32, 38, 0.25),
        rgba(18, 20, 26, 0.55)
    );
    box-shadow: 0 4px 12px rgba(10, 20, 30, 0.2);
    backdrop-filter: blur(6px);
}

.skills-dropdown.hidden {
    display: none;
}

.skills-dropdown li {
    padding: 4px 8px;
    font-size: 14px;
    color: #5E6673;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    text-align: left;
    margin: 0;
    border-radius: 3px;
}

.skills-dropdown li:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}


/* Selected Skills */
.selected-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7vw;
    margin-top: 1vw;

}

.selected-skills .skill-tag {
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid #212121;
    font-size: 0.8rem;
    padding: 0.7vh 1.4vh;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.selected-skills .skill-tag:hover {
    background: rgba(255, 255, 255, 0.07);
}

.remove-skill {
    position: absolute;
  top: -0.7vh;
  right: -0.7vh;
  width: 1.2vw;
  height: 1.2vw;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.07);
  cursor: pointer;
  transition: all 0.4s ease;

}

.remove-skill:hover {
    color: #ff4d4d;
}
.remove-skill:hover line {
  stroke: #ff4d4d;
}

.remove-skill:hover circle {
  stroke: #ff4d4d;
}


@keyframes glitter {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

.glitter-text {
    background: linear-gradient(
            90deg,
            #f5d547,
            #f9b80c,
            #d39d00,
            #f5d547,
            #f9b80c,
            #d39d00
    ); /* Golden gradient colors */
    background-size: 200% 200%; /* Expand the background gradient */
    -webkit-background-clip: text; /* Clip the gradient to the text */
    -webkit-text-fill-color: transparent; /* Transparent text for gradient */
    animation: glitter 3s linear infinite; /* Apply animation */
}

.cardNav {

    max-height: 0px;
}

.cardNav a.feature:hover {

    max-height: 100px;

}


.blue-div {
    background-color: transparent; /* Set background color */
    color: white; /* Optional: Set text color for contrast */
    margin: 0px;
    padding: 0;
    width: 100%; /* Adjusts width to fit content */
    height: auto; /* Adjusts height to fit content */
    display: flex; /* Ensures the div resizes per content */
    justify-content: space-between; /* Spread content across the div */
    align-items: center;
    border-radius: 5px; /* Optional: Rounded corners */
}

.icon-container {
    position: relative;
    display: inline-block;
    text-align: center;
}

/* Button Styling */
.icon-button {
    background: transparent; /* Dark background */
    border: none;
    border-radius: 8px;
    padding: 0px;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: background 0.2s ease-in-out;
}

.icon-button:hover {
    background: transparent;
}

/* Icon Styling */
.icon {
    width: 10px;
    height: 10px;
    color: #eee; /* Light color */
}

.icon:hover {
    color: gold;
}

/* Tooltip Styling */
.tooltip {
    position: absolute;
    bottom: 120%; /* Position tooltip above the icon */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12, 12, 12, 1); /* Dark background for tooltip */
    color: #fff; /* White text */
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.4;
    white-space: nowrap;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
    z-index: 10;
}

/* Tooltip Arrow */
.tooltip::after {
    content: '';
    position: absolute;
    top: 100%; /* Position arrow below tooltip */
    left: 50%;
    transform: translateX(-50%);
    border-width: 6px;
    border-style: solid;
    border-color: #000 transparent transparent transparent; /* Match tooltip background */
}

/* Shortcut Text */
.tooltip .shortcut {
    display: block;
    margin-top: 4px;
    font-size: 10px;
    color: #aaa; /* Lighter color for shortcut */
}

/* Show tooltip on hover */
.icon-container:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Button styling */
.ai-generate-button {
    position: relative;
    padding: 0 2.5vw;
    margin: 0.8vh 0 0 0;
    height: 5vh;
    font-size: 14px;
    font-weight: bold;
    color: white;
    background: linear-gradient(135deg, #6e48aa, #9d50bb);
    border: none;
    border-radius: 30px;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(109, 72, 170, 0.4), 0 0 10px rgba(157, 80, 187, 0.6);
    transition: all 0.3s ease;
}

.ai-generate-button:hover {
    background: linear-gradient(135deg, #9d50bb, #6e48aa);
    box-shadow: 0 6px 20px rgba(157, 80, 187, 0.6), 0 0 20px rgba(157, 80, 187, 0.8);
}

.ai-generate-button .stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 50%) center center / 5px 5px no-repeat;
    animation: twinkle 3s infinite ease-in-out;
    opacity: 0.6;
}

@keyframes twinkle {
    0% {
        background-position: 0 0, 50% 50%, 100% 100%;
    }
    50% {
        background-position: 25% 25%, 75% 75%, 125% 125%;
    }
    100% {
        background-position: 0 0, 50% 50%, 100% 100%;
    }
}

.ai-generate-button .button-text {
    z-index: 2;
    position: relative;
}

.sparkles {
    position: absolute;
    right: 20px;
    padding-right: 10px;

    top: 50%;
    transform: translateY(-50%);
}

.sparkles svg {
    position: absolute;
    width: 14px;
    height: 14px;
    fill: rgba(255, 255, 255, 0.8);
    animation: sparkleTwinkle 1.5s infinite ease-in-out;
}

.sparkles .sparkle-big {
    top: 0;
    left: 0;
    transform: scale(1.2);
}

.sparkles .sparkle-small {
    top: -12px;
    left: 10px;
    width: 8px;
    height: 8px;
}

@keyframes sparkleTwinkle {
    0%, 100% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

/* Card styling */
.popup-card {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 80%;
    max-width: 1000px;
    min-height: 500px;
    background: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
    backdrop-filter: blur(10px); /* Add a blur effect */
    -webkit-backdrop-filter: blur(10px); /* For Safari */

    color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: all 0.5s ease;
}

.popup-card.open {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    opacity: 0;
    visibility: hidden;
    z-index: 4;
    transition: all 0.3s ease;
}

.overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* Close button styling */
.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.2); /* Circle border */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.close-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.close-icon {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.close-button:hover .close-icon {
    color: rgba(255, 255, 255, 0.9);
}

.button-container {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.download-button {
    display: inline-block;
    padding: 12px 30px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: white;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(0, 0, 0, 0.6);
}

/* PDF Button */
.pdf-button {
    background: linear-gradient(135deg, #1A1A1A, #000000);
    box-shadow: 0 4px 15px rgba(26, 26, 26, 0.4), 0 0 10px rgba(0, 0, 0, 0.6);
}

.pdf-button:hover {
    background: linear-gradient(135deg, #000000, #1A1A1A);
    box-shadow: 0 6px 20px rgba(26, 26, 26, 0.6), 0 0 15px rgba(0, 0, 0, 0.8);
}

/* LaTeX Button */
.latex-button {
    background: linear-gradient(135deg, #000000, #1A1A1A);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4), 0 0 10px rgba(26, 26, 26, 0.6);
}

.latex-button:hover {
    background: linear-gradient(135deg, #1A1A1A, #000000);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(26, 26, 26, 0.8);
}

.leftDock {

    display: flex;
    align-items: center;
    background: none;
    border-radius: 8px;
    padding: 0.5vh 0 0 0.58vw;
    transition: width 0.3s ease;
    width: 52vw;
    overflow: hidden;
    margin: 0 0 0 0;
}

.leftDock.openState {
    width: 52vw;
}

.toggleCube {
    padding: 0.4vh;
    border: none;

    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
}

.toggleCube:hover {
    transform: scale(1.1);

}

.buttonCluster {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;


    transition: visibility 0s, opacity 0.3s ease;
}

.leftDock.openState .buttonCluster {
    visibility: visible;
    opacity: 1;
}

.buttonCluster li {
    margin-left: 1vw;
}

.linkBadge {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;

    transition: all 0.2s;
}

.linkBadge:hover {
    color: rgba(255, 255, 255, 0.95);
}

.remove-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    position: absolute;
    right: 1.8vw;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.trash-icon {
    width: 1.5vw;
    height: 1.5vw;
    fill: #888;
    transition: fill 0.3s ease;
}

.remove-btn:hover .trash-icon {
    fill: #ff4d4d;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);

    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(0, 0, 0, 0.8);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    width: 300px;
}

.modal-buttons {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
}

.confirm-delete {
    background-color: #ff4d4d;

    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.confirm-delete:hover {
    background-color: #cc0000;
}

.cancel-delete {
    background-color: #34ce57;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
}

.cancel-delete:hover {
    background-color: #28a745;
}

.compile_button {
    display: block; /* Make the entire area clickable */
    padding: 10px 20px; /* Add padding for a larger clickable area */
    text-align: center; /* Center the text */
    width: 120px; /* Make it smaller */
    box-sizing: border-box; /* Include padding in the width */
    position: relative; /* Ensure z-index works */
    z-index: 10; /* Bring to front */
    /* Add any other styling you want for the button's appearance */
}

/* did the compiler button changes */
.button_div {
    position: relative;
    z-index: 10;
}