/* style.css - Tüm sayfalar için ortak tasarım */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.95), rgba(5, 5, 10, 0.98));
    font-family: 'Inter', sans-serif;
    color: #f0f3f8;
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://www.transparenttextures.com/patterns/carbon-fibre.png');
    opacity: 0.12;
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 2;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 200, 80, 0.3);
    margin-bottom: 2rem;
}

.logo h2 {
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #fff, #ffcd6b);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: #b9c7e9;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: #ffcd6b;
}

.btn-connect {
    background: linear-gradient(95deg, #ffb347, #ff8c1a);
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    font-weight: bold;
    color: #0f0f1a;
    cursor: pointer;
    font-family: inherit;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.badge {
    display: inline-block;
    background: rgba(255, 215, 0, 0.12);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 200, 50, 0.4);
    padding: 0.4rem 1rem;
    border-radius: 60px;
    font-size: 0.75rem;
    margin-bottom: 1rem;
    color: #ffdf7e;
}

h1 {
    font-size: 2.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff, #b9c8ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Form Cards */
.form-card, .admin-panel, .login-card {
    background: rgba(12, 16, 28, 0.75);
    backdrop-filter: blur(12px);
    border-radius: 2rem;
    border: 1px solid rgba(72, 85, 106, 0.5);
    padding: 2rem;
    max-width: 950px;
    margin: 0 auto;
}

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

label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #eef3ff;
}

label i {
    color: #ffc857;
}

input, textarea, select {
    width: 100%;
    background: #0b0f17;
    border: 1px solid #2c3548;
    border-radius: 1rem;
    padding: 0.85rem 1rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #f0f4fe;
    transition: 0.2s;
    outline: none;
}

textarea {
    min-height: 100px;
    resize: vertical;
}

input:focus, textarea:focus {
    border-color: #ffc857;
    box-shadow: 0 0 0 3px rgba(255, 200, 87, 0.2);
}

.submit-btn {
    background: linear-gradient(95deg, #f9b43a, #fb9e2c);
    border: none;
    width: 100%;
    padding: 1rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 2rem;
    color: #0c0f1a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 20px -8px rgba(0,0,0,0.5);
}

.alert {
    padding: 1rem;
    border-radius: 1.2rem;
    margin-bottom: 1.5rem;
    background: rgba(0,0,0,0.6);
    border-left: 6px solid;
}

.alert-success { border-color: #2bc48a; color: #c6ffdf; }
.alert-error { border-color: #ff5a5f; color: #ffe0e0; }
.alert-warning { border-color: #ffc857; color: #fff0cc; }

/* Tablo stilleri */
.apps-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.8rem;
}

.apps-table th, .apps-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #2a3246;
    text-align: left;
}

.apps-table th {
    color: #ffda88;
}

.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

.status-pending { background: #ffc85720; color: #ffc857; }
.status-approved { background: #2bc48a20; color: #2bc48a; }
.status-rejected { background: #ff5a5f20; color: #ff5a5f; }

.delete-btn, .approve-btn, .reject-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 8px;
    border-radius: 8px;
    transition: 0.2s;
}

.delete-btn { color: #ff7c6e; }
.approve-btn { color: #2bc48a; }
.reject-btn { color: #ffa500; }

.delete-btn:hover { background: #ff000020; }
.approve-btn:hover { background: #00ff0020; }

/* Grid sistem */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 2rem 0;
}

.card {
    background: rgba(15, 20, 35, 0.6);
    border-radius: 28px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 180, 70, 0.2);
    transition: 0.2s;
}

.card:hover {
    border-color: #ffb347;
    transform: translateY(-6px);
}

.footer-note {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.7rem;
    color: #5a6e8a;
}

@media (max-width: 768px) {
    .navbar { flex-direction: column; text-align: center; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 15px; }
    h1 { font-size: 1.9rem; }
    .form-card { padding: 1.5rem; margin: 0 1rem; }
}