body {
    margin: 0;
    padding: 0;
    /*background: linear-gradient(to bottom, rgba(255, 167, 23, 0.78), #f58d00);*/
    background: linear-gradient(to bottom, rgba(255, 167, 23, 0.78), #f58d00);
}
#root {
    width: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    height: 100vh;
    color: white;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 120px;
    text-align: center;
    height: 100%;
}

.logo {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 5%;
}

.logo span {
    display: block;
    font-size: 70px;
    line-height: 0.9;
    font-weight: bold;
}

.logo img {
    min-width: 200px;
    min-height: 100px;
}

.powered {
    font-size: 24px;
    margin-top: 8px;
    color: #fff;
    opacity: 0.8;
}

.content {
    justify-self: center;
    /*margin-top: 120px;*/
}

.tagline {
    font-size: 52px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 1;
    color: #f7f7f7;
}

.prompt-box-container {
    /*border-bottom: 1px solid #fff;*/
    width: fit-content;
}

.prompt-box-container input {
    font-size: 52px;
    font-weight: bold;
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 10px 0;
    /*text-decoration: underline;*/
    border: none;
    outline: none;
    background: none;
    width: fit-content;
    word-wrap: break-word;
    border-bottom: 5px solid white;
    text-align: center;
    resize: none;
}

input::placeholder {
    color: rgba(255, 255, 255, 0.6);
    opacity: 0.7;
}

.example {
    font-size: 16px;
    color: #f2f2f2;
    /*margin-top: 15px;*/
    margin-bottom: 30px;
}

.btn {
    padding: 10px 24px;
    font-size: 18px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
}

.btn:hover {
    background-color: #f1f1f1;
}

.back-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 300px;
}

.input-field {
    width: 100%;
    padding: 18px 24px;
    border: none;
    border-radius: 14px;
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 24px;
    outline: none;
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

.info-text {
    font-size: 16px;
    color: #f2f2f2;
    opacity: 0.8;
    text-align: center;
    /*margin-top: -8px;*/
    margin-bottom: 20px;
}

.generate-btn {
    background-color: white;
    color: black;
    font-weight: bold;
}

.waiting {
    position: relative;
    text-align: center;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
}


.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.icon {
    font-size: 36px;
    margin-bottom: 16px;
    animation: rotate 2s linear infinite;
    transition: all 0.3s linear;
}

@keyframes rotate {
    0% {
        scale: 0.7;
        transform: rotate(0deg);
    }
    50% {
        scale: 2;
        transform: rotate(180deg);
    }
    100% {
        scale: 0.7;
        transform: rotate(360deg);
    }
}

.title {
    font-size: 40px;
    /*font-weight: bold;*/
    margin-bottom: 10px;
}

.subtitle {
    font-size: 24px;
    line-height: 1.6;
    color: #f2f2f2;
    margin-bottom: 50px;
    opacity: 0.8;
}

.footer {
    position: absolute;
    bottom: 30px;
    width: 100%;
    font-size: 18px;
    color: #f2f2f2;
    opacity: 0.8;
}


.cover-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.share-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 14px;
    color: black;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    border-radius: 40px;
    padding: 10px 20px;
    background: white;
}

.cover {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 240px;
    height: 240px;
    padding: 20px;
    border-radius: 15px;
    /*background: radial-gradient(circle at top left, rgba(15, 28, 47, 0.69) 0%, #3de08a 60%, #bfa97c 100%);*/
    color: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    position: relative;
    overflow: hidden;
}

.cover .album-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    opacity: 0.3;
    /*filter: blur(4px);*/
    z-index: -1;
}

.cover .logo span {
    font-size: 42px;
}

.cover .logo .powered{
    font-size: 18px;
}

.logo-image {
    width: 100%;
    max-width: 240px;
    margin-bottom: 30px;
    border-radius: 20px;
}

.song-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 8px;
    margin-top: 32px;
}

.song-subtitle {
    font-size: 14px;
    color: #cccccc;
    margin-bottom: 30px;
    opacity: 0.8;
}

.download-btn {
    padding: 14px 28px;
    font-size: 16px;
    border: none;
    border-radius: 28px;
    background-color: white;
    color: black;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.download-btn:hover {
    background-color: #e2e2e2;
}

.footer-note {
    position: absolute;
    bottom: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
}

.gender {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-bottom: 20px;
}

.gender-item {
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    font-weight: 400;
    transition: background 0.3s;
    width: 100%;
}

.genre {
    margin-bottom: 50px;
}

select {
    padding: 10px 20px;
    /*appearance: none;*/
    /*-webkit-appearance: none;*/
    /*-moz-appearance: none;*/
    /*background: url('data:image/svg+xml;utf8,<svg fill="white" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 16px center;*/
    border-radius: 20px;
    font-size: 14px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    width: 100%;
    background: transparent;
    color: #fff;
}



.active_gender {
    background-color: #fff;
    color: black;
}

.prompt-options {
    max-width: 300px;
    width: 100%;
}

.prompt-options-container {
    display: flex;
    width: 100%;
    align-items: center;
    flex-direction: column;
}

.trails {
    margin-top: 12px;
}


