* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #0f172a;
    background-image: 
        radial-gradient(at 20% 30%, rgba(59, 130, 246, 0.2) 0px, transparent 50%),
        radial-gradient(at 80% 20%, rgba(139, 92, 246, 0.2) 0px, transparent 50%),
        radial-gradient(at 40% 70%, rgba(239, 68, 68, 0.15) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(99, 102, 241, 0.2) 0px, transparent 50%);
    min-height: 100vh;
    padding: 20px;
    color: #e2e8f0;
}

/* Login Sayfası */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.login-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%);
    backdrop-filter: blur(30px);
    padding: 60px 50px;
    border-radius: 30px;
    border: 2px solid;
    border-image: linear-gradient(135deg, #3b82f6, #8b5cf6, #ef4444) 1;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 150px rgba(59, 130, 246, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.08);
    text-align: center;
    max-width: 480px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ef4444, #3b82f6);
    background-size: 200% 100%;
    animation: gradient 3s linear infinite;
}

@keyframes gradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.login-box h1 {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -1px;
}

.login-box p {
    color: #94a3b8;
    margin-bottom: 40px;
    font-size: 16px;
}

.login-box input[type="password"] {
    width: 100%;
    padding: 18px 24px;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    font-size: 16px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    color: #e2e8f0;
}

.login-box input[type="password"]:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15), 0 0 30px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.login-box button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ef4444 100%);
    background-size: 200% 100%;
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.login-box button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.login-box button:hover {
    background-position: 100% 0;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
}

.login-box button:hover::before {
    left: 100%;
}

.error {
    background: rgba(239, 68, 68, 0.15);
    border: 2px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    font-weight: 600;
}

/* Ana Sayfa */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(30px);
    padding: 35px 45px;
    border-radius: 25px;
    border: 2px solid;
    border-image: linear-gradient(135deg, #3b82f6, #8b5cf6) 1;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ef4444);
}

header h1 {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logout-btn {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

.logout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(239, 68, 68, 0.5);
}

/* İstatistikler */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 35px;
}

.stat-box {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(30px);
    padding: 35px;
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
}

.stat-box:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
}

.stat-box h3 {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 52px;
    margin-bottom: 12px;
    font-weight: 800;
}

.stat-box p {
    color: #94a3b8;
    font-size: 17px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Upload Bölümü */
.upload-section {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(30px);
    padding: 40px;
    border-radius: 25px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    margin-bottom: 35px;
    position: relative;
    overflow: hidden;
}

.upload-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #8b5cf6, #ef4444);
}

.upload-section h2 {
    background: linear-gradient(135deg, #8b5cf6 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.upload-section form {
    display: flex;
    gap: 20px;
    align-items: center;
}

.upload-section input[type="file"] {
    flex: 1;
    padding: 16px 22px;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    font-size: 15px;
    color: #e2e8f0;
    transition: all 0.3s ease;
}

.upload-section input[type="file"]:hover {
    border-color: #8b5cf6;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}

.upload-section button {
    padding: 16px 38px;
    background: linear-gradient(135deg, #8b5cf6 0%, #ef4444 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-section button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(139, 92, 246, 0.5);
}

/* Transcript Listesi */
.transcript-list {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    backdrop-filter: blur(30px);
    padding: 40px;
    border-radius: 25px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.transcript-list::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ef4444);
}

.transcript-list h2 {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 30px;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.no-data {
    text-align: center;
    color: #64748b;
    padding: 60px;
    font-size: 18px;
    font-weight: 600;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 16px;
}

th {
    padding: 20px;
    text-align: left;
    color: #60a5fa;
    font-weight: 700;
    border-bottom: 3px solid rgba(59, 130, 246, 0.3);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

td {
    padding: 20px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    color: #cbd5e1;
    font-weight: 500;
}

tr {
    transition: all 0.3s ease;
}

tr:hover {
    background: rgba(59, 130, 246, 0.08);
    transform: scale(1.01);
}

.actions {
    display: flex;
    gap: 12px;
}

.btn-view, .btn-delete {
    padding: 12px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-view {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-view:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(16, 185, 129, 0.5);
}

.btn-delete {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.4);
}

.btn-delete:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(239, 68, 68, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        gap: 25px;
        text-align: center;
        padding: 30px;
    }

    .upload-section form {
        flex-direction: column;
    }

    .upload-section input[type="file"],
    .upload-section button {
        width: 100%;
    }

    table {
        font-size: 13px;
    }

    th, td {
        padding: 14px 10px;
    }

    .actions {
        flex-direction: column;
    }
    
    .stat-box h3 {
        font-size: 42px;
    }
    
    .login-box {
        padding: 40px 30px;
    }
}
