/* upload.css – stiluri pentru pagina de upload artist */

/* Card principal */
.artist-upload-card {
    background: radial-gradient(circle at top left,
        rgba(255, 255, 255, 0.08),
        rgba(5, 0, 10, 0.98)
    );
    border-radius: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.75rem 1.5rem 1.85rem;
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.04);
    color: #ffffff;
}

/* Form */
.artist-upload-form {
    display: grid;
    gap: 1.2rem;
}

.artist-upload-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.artist-upload-field label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.req {
    color: #fb7185;
    margin-left: 0.18rem;
}

.artist-upload-field input[type="text"],
.artist-upload-field input[type="file"] {
    font-size: 0.9rem;
    padding: 0.55rem 0.75rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.55);
    color: #fdf2f8;
    outline: none;
    transition:
        border-color 0.16s ease-out,
        box-shadow 0.16s ease-out,
        background 0.16s ease-out;
}

.artist-upload-field input[type="text"]:focus,
.artist-upload-field input[type="file"]:focus {
    border-color: #ee2b5b;
    box-shadow:
        0 0 0 1px rgba(238, 43, 91, 0.8),
        0 0 18px rgba(238, 43, 91, 0.6);
    background: rgba(0, 0, 0, 0.8);
}

.artist-upload-help {
    margin: 0;
    font-size: 0.75rem;
    color: rgba(255, 228, 241, 0.8);
}

/* Alerts */
.artist-upload-alert {
    border-radius: 1rem;
    padding: 0.8rem 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.86rem;
    line-height: 1.6;
}

.artist-upload-alert strong {
    font-weight: 700;
}

.artist-upload-alert ul {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
}

.artist-upload-alert--success {
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.7);
    color: #bbf7d0;
}

.artist-upload-alert--error {
    background: rgba(220, 38, 38, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.85);
    color: #fee2e2;
}

/* Footer button */
.artist-upload-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.artist-upload-button {
    padding: 0.6rem 1.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);

    background: linear-gradient(135deg, #ee2b5b, #ff8bb8);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    cursor: pointer;

    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 18px 42px rgba(238, 43, 91, 0.9);

    transition:
        transform 0.16s ease-out,
        box-shadow 0.16s ease-out,
        filter 0.16s ease-out;
}

.artist-upload-button:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.4),
        0 22px 52px rgba(238, 43, 91, 1);
}

.artist-upload-button:active {
    transform: translateY(1px) scale(0.98);
    box-shadow:
        0 0 0 1px rgba(238, 43, 91, 0.8),
        0 12px 30px rgba(0, 0, 0, 0.95);
}

/* Responsive */
@media (max-width: 640px) {
    .artist-upload-card {
        padding: 1.5rem 1.25rem 1.6rem;
        border-radius: 1.2rem;
    }
}

/* ===== MY SUBMITTED TRACKS ===== */

.tracks-list {
    display: grid;
    gap: 1rem;
}

/* card individual pentru piesă */
.track-card {
    background: radial-gradient(circle at top left,
        rgba(255, 255, 255, 0.06),
        rgba(5, 0, 10, 0.95)
    );
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 1.1rem 1.25rem 1.2rem;
    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.85),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    color: #ffffff;

    display: flex;
    flex-direction: column;
    gap: 0.75rem;

    transition:
        transform 0.16s ease-out,
        box-shadow 0.16s ease-out,
        border-color 0.16s ease-out,
        background 0.16s ease-out;
}

.track-card:hover {
    transform: translateY(-2px);
    border-color: rgba(238, 43, 91, 0.6);
    box-shadow:
        0 22px 52px rgba(0, 0, 0, 0.95),
        0 0 0 1px rgba(238, 43, 91, 0.4);
    background: radial-gradient(circle at top left,
        rgba(238, 43, 91, 0.18),
        rgba(5, 0, 10, 0.96)
    );
}

.track-card__header {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    align-items: flex-start;
}

.track-card__title {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

.track-card__artist {
    margin: 0.05rem 0 0;
    font-size: 0.82rem;
    color: rgba(255, 230, 241, 0.8);
}

.track-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.track-card__meta {
    margin: 0;
    font-size: 0.78rem;
    color: rgba(255, 240, 245, 0.85);
}

/* badge status */
.track-card__status {
    display: flex;
    align-items: flex-start;
}

.track-status {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.7rem 0.2rem;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Pending */
.track-status--pending {
    background: rgba(234, 179, 8, 0.12);
    color: #facc15;
    border: 1px solid rgba(250, 204, 21, 0.7);
}

/* Approved */
.track-status--approved {
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
    border: 1px solid rgba(45, 212, 191, 0.9);
}

/* Rejected */
.track-status--rejected {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border: 1px solid rgba(248, 113, 113, 0.85);
}

.track-card__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.1rem;
}

.track-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    text-decoration: none;
    color: #fdf2f8;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.22);

    transition:
        background 0.16s ease-out,
        transform 0.16s ease-out,
        box-shadow 0.16s ease-out;
}

.track-link:hover {
    background: #ee2b5b;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.4),
        0 10px 26px rgba(238, 43, 91, 0.9);
    transform: translateY(-1px);
}

.track-link--license {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.9);
}

.track-link--license:hover {
    background: rgba(30, 64, 175, 0.95);
    box-shadow:
        0 0 0 1px rgba(191, 219, 254, 0.9),
        0 10px 26px rgba(30, 64, 175, 0.9);
}

/* responsive */
@media (max-width: 640px) {
    .track-card {
        padding: 1rem 1rem 1.1rem;
    }

    .track-card__header {
        flex-direction: column;
        align-items: flex-start;
    }
}
