@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Montserrat:wght@700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f0f2f5;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.back-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1a237e;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 20px;
}

.back-button:hover {
    background-color: #0e1642;
}

h1 {
    text-align: center;
    color: #2196F3;
    margin-bottom: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2rem;
    letter-spacing: -0.5px;
}

h3 {
    color: #1a237e;
    text-align: center;
    margin-bottom: 30px;
}

.data-input-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.input-group label {
    color: #666;
}

.input-group input {
    padding: 8px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1em;
}

button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #2196F3;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

button:hover {
    background: #0e1642;
}

.visualization-section {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.tab-button {
    background: #e0e0e0;
    color: #666;
}

.tab-button.active {
    background: #1a237e;
    color: white;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.data-list {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

#dataList {
    list-style: none;
    max-height: 200px;
    overflow-y: auto;
}

#dataList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #e0e0e0;
}

#dataList li:last-child {
    border-bottom: none;
}

.delete-btn {
    background: #dc3545;
    padding: 5px 10px;
    font-size: 0.9em;
}

.delete-btn:hover {
    background: #c82333;
}

canvas {
    width: 100% !important;
    height: 400px !important;
    margin: 0 auto;
}

.controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.data-input {
    font-size: 1.1rem;
    font-weight: 500;
}

.chart-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: #2c3e50;
}

.topbar {
    background-color: #2196F3;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo {
    width: 48px;
    height: 48px;
}

.app-name {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .input-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab-button {
        width: 100%;
    }
    
    canvas {
        height: 300px !important;
    }
}
