* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.container {
    background-color: #1e1e2e;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    width: 100%;
    max-width: 450px;
}

.admin-container {
    max-width: 800px;
    align-self: flex-start;
    margin-top: 3rem;
}

.login-container {
    max-width: 350px;
}

h1 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: #ffffff;
    font-size: 1.6rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.admin-header h1 {
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    color: #b0b0bb;
    font-size: 0.9rem;
}

input[type="text"],
input[type="password"] {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #333344;
    background-color: #2a2a3c;
    color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

input[type="text"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #ff4757;
    box-shadow: 0 0 0 3px rgba(255, 71, 87, 0.2);
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 0.9rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background-color 0.3s, transform 0.1s;
    text-align: center;
    text-decoration: none;
    margin-top: 0.5rem;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: #ff4757;
    color: white;
}

.btn-primary:hover {
    background-color: #ff6b81;
}

.btn-success {
    background-color: #2ed573;
    color: white;
    width: auto;
    padding: 0.5rem 0.8rem;
    font-size: 0.85rem;
}

.btn-success:hover {
    background-color: #7bed9f;
}

.btn-danger {
    background-color: #333344;
    color: #ff4757;
    width: auto;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    margin-top: 0;
}

.btn-danger:hover {
    background-color: #ff4757;
    color: white;
}

.btn-sm {
    padding: 0.4rem 0.8rem;
}

.alert {
    background-color: rgba(46, 213, 115, 0.1);
    color: #2ed573;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    text-align: center;
    border: 1px solid rgba(46, 213, 115, 0.2);
    font-weight: 500;
}

.alert.error {
    background-color: rgba(255, 71, 87, 0.1);
    color: #ff4757;
    border-color: rgba(255, 71, 87, 0.2);
}

.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #333344;
}

th {
    background-color: #2a2a3c;
    color: #b0b0bb;
    font-weight: 500;
    white-space: nowrap;
}

tr:hover td {
    background-color: #2a2a3c;
}

@media (max-width: 600px) {
    body {
        padding: 1rem;
    }
    .container {
        padding: 1.5rem;
    }
    th, td {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
}

/* TV Ekranı Stilleri */
.tv-body {
    background-color: #000;
    padding: 2rem 5rem;
    align-items: flex-start;
}
.tv-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.tv-title {
    font-size: 3rem;
    color: #ff4757;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
}
.tv-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.tv-item {
    display: flex;
    align-items: center;
    background-color: #1e1e2e;
    padding: 1.5rem 2.5rem;
    border-radius: 16px;
    border-left: 8px solid #333344;
    transition: all 0.3s ease;
}
.tv-item.playing-next {
    border-left-color: #2ed573;
    background-color: #252538;
    transform: scale(1.02);
    box-shadow: 0 10px 30px rgba(46, 213, 115, 0.2);
}
.tv-item-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #555566;
    margin-right: 2rem;
    min-width: 50px;
}
.tv-item.playing-next .tv-item-number {
    color: #2ed573;
}
.tv-item-info {
    flex-grow: 1;
}
.tv-song {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.3rem;
}
.tv-artist {
    font-size: 1.4rem;
    color: #b0b0bb;
}
.tv-requester {
    font-size: 1.8rem;
    color: #ffaa00;
    background: rgba(255, 170, 0, 0.1);
    padding: 0.8rem 1.5rem;
    border-radius: 30px;
    font-weight: 500;
}
.tv-empty {
    text-align: center;
    padding: 5rem 0;
    font-size: 2rem;
    color: #555566;
}
.tv-empty-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Scrollbar dizaynı */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #1e1e2e;
}
::-webkit-scrollbar-thumb {
    background: #333344;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #444455;
}
