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

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

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

.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 40px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    opacity: 0.9;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 10px;
}

.main-content {
    display: grid;
    gap: 40px;
    margin-bottom: 40px;
}

.input-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

select.form-control {
    cursor: pointer;
}

.btn-hesapla {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-hesapla:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-hesapla:active {
    transform: translateY(0);
}

.results-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.results-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    font-size: 1.5rem;
}

.results-table {
    overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* mobilde daha yumuşak kaydırma */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e1e8ed;
}

th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

td {
    font-size: 0.95rem;
}

tr:hover {
    background-color: #f8f9fa;
}

.info-section {
    grid-column: 1 / -1;
}

.info-card {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    border-left: 4px solid #667eea;
}

.info-card h3 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.faculty-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.faculty-section h2 {
    margin-bottom: 25px;
    color: #2c3e50;
    font-size: 1.8rem;
    text-align: center;
}

.faculty-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.faculty-item {
    border: 1px solid #e1e8ed;
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.faculty-item:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.faculty-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.department-list {
    list-style: none;
}

.department-list li {
    padding: 8px 0;
    border-bottom: 1px solid #f1f3f4;
    font-size: 0.95rem;
    color: #555;
}

.department-list li:last-child {
    border-bottom: none;
}

.burs-badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 8px;
}

.burs-tam {
    background-color: #d4edda;
    color: #155724;
}

.burs-yarim {
    background-color: #fff3cd;
    color: #856404;
}

.burs-ucretli {
    background-color: #f8d7da;
    color: #721c24;
}

.no-results {
    text-align: center;
    padding: 40px;
    color: #6c757d;
    font-style: italic;
}

.loading {
    text-align: center;
    padding: 20px;
    color: #667eea;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-content {
        display: block;
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .container {
        padding: 15px;
    }
    
    .input-section, .results-section {
        padding: 20px;
    }
    
    .faculty-list {
        grid-template-columns: 1fr;
    }
    
       .input-section {
        grid-template-columns: none;
         margin-bottom: 30px;
    }
     .info-section {
        margin-bottom: 30px;
    }
    .input-group {
    width: 100%;
    margin-bottom: 0;
}
}

@media (max-width: 480px) {
    .header {
        padding: 30px 20px;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    table {
        font-size: 0.85rem;
    }
    
    th, td {
        padding: 8px 10px;
    }
 
   .input-section {
        grid-template-columns: none;
        margin-bottom: 30px;
    }
    .info-section {
        margin-bottom: 30px;
    }
    .input-group {
    width: 100%;
    margin-bottom: 0;
}
} 