/* base styles */
body {
    margin: 0;
    padding: 0;
    background: #000000;
    color: #00FFFF;
    font-family: "Courier Prime", monospace;
}

.hidden { 
    display: none !important; 
}

/*layout*/
.main {
    min-height: 100vh;
    padding: 40px;
    position: relative;
}

/* header */
.header {
    position: fixed;
    top: 40px;
    left: 74px;
    width: auto; /* Adjusted width */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centered content */
}

.header .text-wrapper {
    font-family: "Cousine", monospace;
    font-size: 62.9px;
    letter-spacing: 3.15px;
    color: #00FFFF;
    -webkit-text-stroke: 1px #90EE90;
    text-shadow: 5px #90EE90;
    margin: 0;
    padding: 0;
    text-align: center; /* Center alignment */
}

.header .vector {
    height: 2px;
    background: linear-gradient(to right, #00FFFF 50%, transparent 50%);
    background-size: 20px 100%;
    background-repeat: repeat-x;
    width: 345px; /* Adjusted to avoid stretching */
    margin: 0 auto; /* Centered */
}

/* search container */
.search {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 57px;
    padding-top: 120px;
}

/* album */
.album {
    width: 403px;
    height: 398px;
    border: 1px solid #00FFFF;
    border-radius: 15px;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: center; */
    overflow: hidden;
}

.album img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* search bar */
.search-bar-wrapper {
    width: 535px; /* Ensure consistent width */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-input {
    width: 100%;
    background: transparent;
    border: none;
    color: #00FFFF;
    font-family: "Courier Prime", monospace;
    font-size: 24.4px;
    text-align: center;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.overlap {
    position: relative;
    height: 55px;
}

.overlap {
    position: relative;
    height: 55px;
    width: 535px;
    display: table-row;
    align-items: center;
    justify-content: center; 
}

.input {
    width: 300px; 
    position: relative;
}

.text-input {
    width: 100%; 
    background: transparent;
    border: none;
    color: #00FFFF;
    font-family: "Courier Prime", monospace;
    font-size: 24.4px;
    text-align: center;
    height: 35px;
    line-height: 35px;
    padding: 0;
}

.vector-line {
    height: 2px;
    background-color: #00FFFF;
    width: 100%;
    margin-top: 10px;
}

/* navigation */
.skip {
    /* position: absolute; */
    width: 100%;
    display: flex;
    justify-content: space-between;
    top: 50%;
    transform: translateY(-50%);
}

.prev-btn, .next-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
    margin-left: -50px;
    margin-right: -50px;
}

.prev-btn:hover, .next-btn:hover {
    opacity: 0.8;
}

/* results */
.results {
    margin-top: 40px;
    text-align: center;
}

.result-item {
    font-size: 22.5px;
    margin: 20px 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.result-item:hover {
    opacity: 0.8;
}

/* X reset button */
.reset-btn {
    position: fixed;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s;
}

.reset-btn:hover {
    opacity: 0.8;
}

.recommendations .result-item {
    color: #FFFF00;
}

.error {
    color: #FF0000; /* fed for better visibility */
    font-weight: bold;
    margin-top: 20px;
    text-align: center;
}