/* Reset ve Genel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
        "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
        sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #0f0f10;
    color: white;
    min-height: 100vh;
}

/* Sayfa Yönetimi */
.page {
    display: none;
}

.page.active {
    display: block;
}

/* Ana Sayfa Stilleri */
.app-header {
    background-color: #0f0f10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: calc(10px + 2vmin);
    color: white;
}

.app-link {
    color: #61dafb;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.app-link:hover {
    transform: scale(1.05);
}

.app-link img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.mt-5 {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 300;
}

/* Butonlar */
.nav-button {
    margin-top: 2rem;
    padding: 12px 24px;
    background-color: #61dafb;
    color: #0f0f10;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-button:hover {
    background-color: #4fa8c5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(97, 218, 251, 0.3);
}

.back-button {
    padding: 10px 20px;
    background-color: #2a2a2e;
    color: white;
    border: 1px solid #3a3a3e;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-button:hover {
    background-color: #3a3a3e;
    border-color: #61dafb;
}

/* Container ve Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.header-section h1 {
    font-size: 2rem;
    color: #61dafb;
}

/* Form Kartı */
.form-card {
    background-color: #1a1a1e;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.form-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #e0e0e0;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #b0b0b0;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background-color: #2a2a2e;
    border: 1px solid #3a3a3e;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #61dafb;
    box-shadow: 0 0 0 3px rgba(97, 218, 251, 0.1);
}

.submit-button {
    width: 100%;
    padding: 12px;
    background-color: #61dafb;
    color: #0f0f10;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-button:hover {
    background-color: #4fa8c5;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(97, 218, 251, 0.3);
}

.submit-button:active {
    transform: translateY(0);
}

/* Mesajlar */
.message {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 6px;
    display: none;
}

.message.success {
    display: block;
    background-color: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
}

.message.error {
    display: block;
    background-color: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}

/* Liste Kartı */
.list-card {
    background-color: #1a1a1e;
    border: 1px solid #2a2a2e;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

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

.list-header h2 {
    font-size: 1.5rem;
    color: #e0e0e0;
}

.refresh-button {
    padding: 8px 16px;
    background-color: #2a2a2e;
    color: white;
    border: 1px solid #3a3a3e;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.refresh-button:hover {
    background-color: #3a3a3e;
    border-color: #61dafb;
}

/* Status Listesi */
.status-list {
    display: grid;
    gap: 1rem;
}

.status-item {
    background-color: #2a2a2e;
    border: 1px solid #3a3a3e;
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.status-item:hover {
    border-color: #61dafb;
    transform: translateX(4px);
}

.status-item-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.client-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #61dafb;
}

.status-id {
    font-size: 0.75rem;
    color: #808080;
    font-family: monospace;
}

.timestamp {
    font-size: 0.9rem;
    color: #b0b0b0;
    margin-top: 0.5rem;
}

.empty-state {
    text-align: center;
    padding: 3rem;
    color: #808080;
}

.empty-state p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .header-section h1 {
        font-size: 1.5rem;
    }

    .form-card, .list-card {
        padding: 1.5rem;
    }

    .app-header {
        font-size: calc(8px + 2vmin);
    }
}