/* Genel Stiller */
:root {
    --primary-color: #4285F4;
    --secondary-color: #34A853;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --danger-color: #dc3545;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
}

body {
    font-family: 'Poppins', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #f5f6fa;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background-color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Header */
.header-main {
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color) !important;
}

.nav-link {
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.8rem 1.2rem;
    margin: 0 0.3rem;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: #fff !important;
    background-color: var(--primary-color);
    border-radius: 5px;
}

.user-menu {
    background-color: rgba(66, 133, 244, 0.1);
    border-radius: 20px;
    padding: 0.5rem 1rem !important;
    color: var(--dark-color) !important;
}

.dropdown-menu {
    background-color: #fff;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    color: #495057 !important;
    padding: 0.7rem 1.2rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(66, 133, 244, 0.1);
    color: var(--primary-color) !important;
    transform: translateX(5px);
}

.navbar .btn-outline-light {
    border: 1px solid var(--primary-color);
    color: var(--primary-color) !important;
}

.navbar .btn-outline-light:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #fff !important;
}

.navbar .btn-light {
    background-color: var(--primary-color);
    color: #fff !important;
    font-weight: 600;
}

.navbar .btn-light:hover {
    background-color: #2b5876;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-toggler {
    border-color: var(--primary-color);
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2873, 80, 87, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown divider rengi */
.dropdown-divider {
    border-top: 1px solid #e9ecef;
}

/* Mobil menü için ek stiller */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(248, 249, 250, 0.95);
        padding: 1rem;
        border-radius: 10px;
        margin-top: 1rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .nav-link {
        padding: 0.8rem 1rem;
        border-radius: 5px;
    }

    .navbar-nav .btn {
        margin: 0.5rem 0;
        width: 100%;
        text-align: left;
    }
}

/* Main Content */
.main-content {
    flex: 1;
    min-height: calc(100vh - 450px); /* Footer yüksekliğini çıkarıyoruz */
    display: flex;
    flex-direction: column;
}

/* Form Stilleri */
.form-container {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
}

.form-container h2 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.form-label {
    font-weight: 500;
    color: var(--dark-color);
}

.form-control {
    border-radius: 5px;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(66, 133, 244, 0.25);
}

/* Kartlar */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    overflow: hidden;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
}

.card-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.card-body {
    padding: 1.5rem;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: #fff;
    width: 100%;
}

.footer-top {
    background-color: #222;
    padding: 3rem 0;
}

.footer-logo {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 30px;
    background-color: var(--primary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    background-color: #1a1a1a;
    font-size: 0.9rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-left: 1.5rem;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #fff;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: var(--primary-color);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: none;
    text-decoration: none;
    transition: all 0.3s ease;
    z-index: 99;
}

.back-to-top:hover {
    background-color: #2b5876;
    color: #fff;
    transform: translateY(-3px);
}

/* Responsive Ayarlar */
@media (max-width: 768px) {
    .navbar {
        padding: 0.5rem 0;
    }

    .footer-bottom {
        text-align: center;
    }

    .footer-bottom-links {
        margin-top: 1rem;
    }

    .footer-bottom-links a {
        margin: 0 0.5rem;
    }

    .main-content {
        min-height: calc(100vh - 550px); /* Mobilde footer daha yüksek olabilir */
    }
}

/* URL Kartları */
.url-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.url-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.url-stats {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Bildirimler */
.toast-success {
    background-color: var(--success-color) !important;
}

.toast-error {
    background-color: var(--danger-color) !important;
}

.toast-warning {
    background-color: var(--warning-color) !important;
}

.toast-info {
    background-color: var(--info-color) !important;
}

/* Butonlar */
.btn {
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #2b5876 100%);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(66, 133, 244, 0.3);
}

/* Tablo Stilleri */
.table {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    border-bottom: 2px solid #dee2e6;
}

.table td {
    vertical-align: middle;
}

/* Pagination */
.pagination {
    margin-top: 2rem;
    justify-content: center;
}

.page-link {
    padding: 0.5rem 1rem;
    color: var(--primary-color);
    border: none;
    margin: 0 3px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.page-link:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

/* Dashboard */
.dashboard-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

/* Profil Sayfası */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

/* Kopyala Butonu */
.copy-btn {
    cursor: pointer;
}

.copy-btn:hover {
    color: #0d6efd;
}

/* Tablo Stilleri */
.table-responsive {
    overflow-x: auto;
} 