@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    padding: 30px;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fafafa;
}

input:focus {
    border-color: #764ba2;
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(118, 75, 162, 0.1);
}

/* Ana Buton Stili */
.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 14px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn:active {
    transform: translateY(0);
}

/* Misafir Ekle Butonu */
.btn-ekle {
    background: linear-gradient(135deg, #28a745, #20c997);
    margin-top: 10px;
    margin-bottom: 20px;
    width: auto;
    padding: 12px 25px;
    display: inline-block;
}

.btn-ekle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.3);
}

/* Misafir Çıkar Butonu */
.btn-cikar {
    background: linear-gradient(135deg, #dc3545, #c82333);
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 14px;
    font-size: 12px;
    width: auto;
    border-radius: 30px;
    font-weight: bold;
}

.btn-cikar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.4);
}

/* Misafir Kartları */
.misafir-item {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    padding: 20px;
    border-radius: 16px;
    margin-bottom: 20px;
    position: relative;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.misafir-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border-color: #764ba2;
}

.misafir-baslik {
    font-weight: bold;
    margin-bottom: 15px;
    color: #764ba2;
    font-size: 16px;
    background: #f0e6ff;
    display: inline-block;
    padding: 5px 15px;
    border-radius: 30px;
}

.misafir-item input {
    margin-bottom: 12px;
    background: white;
}

.misafir-item input:last-of-type {
    margin-bottom: 0;
}

/* Alert Mesajları */
.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    border-left: 5px solid #28a745;
}

.alert-error {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    color: #721c24;
    border-left: 5px solid #dc3545;
}

/* Buton Grubu */
.button-group {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Misafirler bölümü başlığı */
.misafirler-baslik {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 20px 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0e0e0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.misafirler-baslik span {
    background: #764ba2;
    color: white;
    font-size: 12px;
    padding: 2px 10px;
    border-radius: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    
    .btn-ekle {
        width: 100%;
    }
    
    .button-group {
        flex-direction: column;
    }
}