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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    margin: 0 auto;
    padding: 20px;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.header h1 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.header img {
    margin-bottom: 1rem;
}

.header p {
    margin-top: 0.5rem;
    text-align: center;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Form Stiller */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-color, #2c3e50);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color, #e0e6ed);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background: var(--card-background, rgba(255, 255, 255, 0.9));
    color: var(--text-color, #333);
}

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

/* InputMask placeholder stilleri */
.form-control::placeholder {
    color: #9ca3af;
    opacity: 0.7;
    font-style: italic;
}

.form-control:focus::placeholder {
    opacity: 0.5;
}

/* Geçersiz input stilleri */
.form-control.invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Geçerli input stilleri */
.form-control.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Dinamik alan ekleme butonları */
.btn-secondary.btn-sm {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-secondary.btn-sm:hover {
    background: linear-gradient(135deg, #545b62 0%, #454d55 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Email ve telefon satırları */
.email-row, .phone-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 0.5rem;
}

.email-row .form-control, .phone-row .form-control {
    flex: 1;
}

/* Kaldırma butonları */
.remove-email, .remove-phone {
    background: #dc3545;
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.remove-email:hover, .remove-phone:hover {
    background: #c82333;
    transform: scale(1.1);
    box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
}

textarea.form-control {
    resize: vertical;
    min-height: 100px;
    background: var(--card-background, rgba(255, 255, 255, 0.9));
    color: var(--text-color, #333);
    border-color: var(--border-color, #e0e6ed);
}

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

/* Select elementleri için tema desteği */
select.form-control {
    background: var(--card-background, rgba(255, 255, 255, 0.9));
    color: var(--text-color, #333);
    border-color: var(--border-color, #e0e6ed);
}

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

/* Checkbox ve radio button tema desteği */
input[type="checkbox"], input[type="radio"] {
    accent-color: var(--accent-color, #667eea);
}

/* Form validation mesajları */
.form-control.invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.valid {
    border-color: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.1);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.btn-danger {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Grid System */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: -10px;
}

.col {
    flex: 1;
    padding: 10px;
}

.col-2 {
    flex: 0 0 50%;
    padding: 10px;
}

.col-3 {
    flex: 0 0 33.333%;
    padding: 10px;
}

.col-4 {
    flex: 0 0 25%;
    padding: 10px;
}

/* vCard Grid */
.vcard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.vcard-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.vcard-item:hover {
    transform: translateY(-5px);
}

.vcard-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 3px solid #667eea;
}

.vcard-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.vcard-title {
    color: #6c757d;
    margin-bottom: 1rem;
}

.vcard-contact {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.qr-code {
    width: 100px;
    height: 100px;
    margin: 1rem auto;
    border-radius: 8px;
}

/* Profile Page */
.profile-header {
    text-align: center;
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1rem;
    border: 5px solid white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.profile-title {
    font-size: 1.25rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.9);
}

.contact-icon {
    width: 40px;
    height: 40px;
    margin-right: 1rem;
    color: #667eea;
}

/* Social Media */
.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-facebook { background: #3b5998; }
.social-twitter { background: #1da1f2; }
.social-linkedin { background: #0077b5; }
.social-instagram { background: #e4405f; }

/* Admin Panel */
.admin-nav {
    background: var(--card-background, rgba(255, 255, 255, 0.9));
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.admin-nav ul {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.admin-nav a {
    color: var(--text-color, #2c3e50);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.admin-nav a:hover {
    background: rgba(var(--accent-color-rgb, 102, 126, 234), 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: #333;
}

.data-table th,
.data-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #e0e6ed;
}

.data-table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #2c3e50;
}

.data-table tr:hover {
    background: #f8f9fa;
}

/* Login Form */
.login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-form {
    background: var(--card-background, rgba(255, 255, 255, 0.95));
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

.login-title {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-color, #2c3e50);
    font-size: 2rem;
    font-weight: 300;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid transparent;
}

.alert-success {
    background: #d4edda;
    border-color: #c3e6cb;
    color: #155724;
}

.alert-danger {
    background: #f8d7da;
    border-color: #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: #d1ecf1;
    border-color: #bee5eb;
    color: #0c5460;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .profile-name {
        font-size: 2rem;
    }
    
    .col-2, .col-3, .col-4 {
        flex: 0 0 100%;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
    }
    
    .admin-nav ul {
        flex-direction: column;
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; } 

/* Color picker stilleri */
input[type="color"].form-control,
input[type="color"] {
    width: 100% !important;
    height: 45px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    padding: 4px !important;
    background: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

input[type="color"]::-webkit-color-swatch-wrapper {
    padding: 0 !important;
    border: none !important;
    border-radius: 6px !important;
}

input[type="color"]::-webkit-color-swatch {
    border: none !important;
    border-radius: 4px !important;
}

input[type="color"]::-moz-color-swatch {
    border: none !important;
    border-radius: 4px !important;
}

input[type="color"]:hover {
    border-color: #9ca3af !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}

input[type="color"]:focus {
    border-color: #3b82f6 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

/* Range slider stilleri */
input[type="range"].form-control,
input[type="range"] {
    width: 100% !important;
    height: 6px !important;
    border-radius: 3px !important;
    background: #e5e7eb !important;
    outline: none !important;
    border: none !important;
    cursor: pointer !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

input[type="range"]::-webkit-slider-thumb {
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #3b82f6 !important;
    cursor: pointer !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

input[type="range"]::-moz-range-thumb {
    width: 20px !important;
    height: 20px !important;
    border-radius: 50% !important;
    background: #3b82f6 !important;
    cursor: pointer !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
}

input[type="range"]::-moz-range-track {
    width: 100% !important;
    height: 6px !important;
    cursor: pointer !important;
    background: #e5e7eb !important;
    border-radius: 3px !important;
    border: none !important;
}

/* Tema önizleme stilleri */
#theme-preview {
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
}

#theme-preview:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
} 