/* Domain Satış Platformu CSS */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* Genel Stiller */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background: #f8f9fa;
    margin: 0;
    padding: 0;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
    margin-top: 90px !important;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-stats {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* FOMO Banner */
.fomo-banner {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.8; }
    100% { opacity: 1; }
}

.fomo-message {
    font-size: 1.1rem;
    font-weight: 600;
}

.fomo-timer {
    font-size: 1.2rem;
    font-weight: bold;
}

/* Domain Cards */
.domain-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    border-radius: 15px;
    overflow: hidden;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.domain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.domain-card-header {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.domain-card-header .domain-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.domain-card-body {
    padding: 1rem;
}

.domain-info {
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.info-item i {
    width: 20px;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.info-item .label {
    font-weight: 600;
    margin-right: 0.5rem;
    color: var(--dark-color);
}

.info-item .value {
    margin-left: auto;
}

.domain-actions {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.domain-card .card-header {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    border: none;
    padding: 1rem;
}

.domain-card .card-title {
    font-size: 1.1rem;
    font-weight: 600;
}

.domain-info p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.timer-display {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--danger-color);
    font-family: 'Courier New', monospace;
}

.domain-stats {
    margin-top: 1rem;
}

.domain-stats .badge {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
}

/* Auction Timer */
.auction-timer {
    background: #f8f9fa;
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

.btn-success {
    background: linear-gradient(45deg, var(--success-color), #1e7e34);
    border: none;
}

.btn-success:hover {
    background: linear-gradient(45deg, #1e7e34, var(--success-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: linear-gradient(45deg, var(--danger-color), #c82333);
    border: none;
}

.btn-danger:hover {
    background: linear-gradient(45deg, #c82333, var(--danger-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

.btn-warning {
    background: linear-gradient(45deg, var(--warning-color), #e0a800);
    border: none;
    color: #212529;
}

.btn-warning:hover {
    background: linear-gradient(45deg, #e0a800, var(--warning-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.4);
    color: #212529;
}

/* Navbar */
.navbar {
    background: #23272b !important;
    color: #fff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    z-index: 1000;
}

.navbar .navbar-brand, .navbar .nav-link, .navbar .dropdown-item {
    color: #fff !important;
}

.navbar .dropdown-menu {
    background: #23272b;
}

.navbar .dropdown-item:hover {
    background: #343a40;
    color: #fff !important;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

/* Form Elements */
.form-control {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

/* Alerts */
.alert {
    border-radius: 10px;
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Tables */
.table {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.table thead th {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: white;
    border: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Admin Panel */
.admin-sidebar {
    background: linear-gradient(180deg, var(--dark-color), #495057);
    min-height: 100vh;
    border-radius: 0 15px 15px 0;
}

.admin-sidebar .nav-link {
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    margin: 0.25rem 0;
    transition: all 0.3s ease;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(5px);
}

.admin-content {
    padding: 2rem;
    background: #f8f9fa;
    min-height: 100vh;
}

/* Stat Cards */
.stat-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card .stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-stats {
        padding: 1rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .fomo-banner {
        padding: 1rem;
    }
    
    .fomo-timer {
        font-size: 1rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* Print Styles */
@media print {
    .navbar,
    .btn,
    .no-print {
        display: none !important;
    }
    
    .domain-card {
        box-shadow: none !important;
        border: 1px solid #ddd !important;
    }
}

/* Notification Styles */
.notification-item {
    transition: all 0.3s ease;
    border-radius: 10px;
    margin-bottom: 0.5rem;
}

.notification-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

.notification-item.unread {
    background-color: rgba(0, 123, 255, 0.1);
    border-left: 4px solid var(--primary-color);
}

.notification-item.unread:hover {
    background-color: rgba(0, 123, 255, 0.15);
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.notification-content h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.notification-actions {
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-item:hover .notification-actions {
    opacity: 1;
}

.notification-actions .btn {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;
}

/* Activity Feed */
.activity-list {
    max-height: 400px;
    overflow-y: auto;
}

.activity-item {
    padding: 1rem;
    border-left: 3px solid var(--primary-color);
    margin-bottom: 1rem;
    background: white;
    border-radius: 0 10px 10px 0;
    transition: all 0.3s ease;
}

.activity-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: white;
}

/* Profile Form */
.profile-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.profile-form .btn-primary {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    border: none;
    padding: 0.75rem 2rem;
}

.profile-form .btn-primary:hover {
    background: linear-gradient(45deg, #0056b3, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4);
}

/* Search and Filter Styles */
.search-box {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-box .form-control {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    border: 2px solid #e9ecef;
}

.search-box .btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
}

.search-filters {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.search-filters .card-header {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: white;
    border-radius: 15px 15px 0 0 !important;
    padding: 1rem 1.5rem;
}

.filter-section {
    padding: 1.5rem;
    border-bottom: 1px solid #e9ecef;
}

.filter-section:last-child {
    border-bottom: none;
}

.filter-section h6 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-range-slider {
    padding: 0 1rem;
}

.price-range-slider .form-range {
    height: 6px;
    border-radius: 3px;
}

.price-range-slider .form-range::-webkit-slider-thumb {
    background: var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
}

.price-range-slider .form-range::-moz-range-thumb {
    background: var(--primary-color);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    border: none;
}

.price-range-values {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.category-filter .form-check {
    margin-bottom: 0.5rem;
}

.category-filter .form-check-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.category-filter .form-check-label:hover {
    background-color: #f8f9fa;
}

.category-count {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
}

.sort-options .form-select {
    border-radius: 8px;
    border: 2px solid #e9ecef;
    padding: 0.5rem 1rem;
}

.sort-options .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.search-results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-results-count {
    font-weight: 600;
    color: var(--dark-color);
}

.view-toggle .btn {
    padding: 0.5rem 1rem;
    margin-left: 0.5rem;
}

.view-toggle .btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.list-view .col-lg-4 {
    flex: 0 0 100%;
    max-width: 100%;
}

.list-view .domain-card {
    flex-direction: row;
    align-items: center;
}

.list-view .domain-card .card-header {
    flex: 0 0 200px;
    border-radius: 15px 0 0 15px;
}

.list-view .domain-card .card-body {
    flex: 1;
    padding: 1.5rem;
}

.list-view .domain-card .card-footer {
    flex: 0 0 150px;
    border-radius: 0 15px 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #f8f9fa;
}

/* Pagination */
.pagination {
    justify-content: center;
    margin-top: 2rem;
}

.pagination .page-link {
    border-radius: 8px;
    margin: 0 0.25rem;
    border: 2px solid #e9ecef;
    color: var(--primary-color);
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination .page-link:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .search-box {
        padding: 1rem;
    }
    
    .search-box .form-control,
    .search-box .btn {
        margin-bottom: 1rem;
    }
    
    .list-view .domain-card {
        flex-direction: column;
    }
    
    .list-view .domain-card .card-header,
    .list-view .domain-card .card-footer {
        flex: none;
        border-radius: 15px 15px 0 0;
    }
}

/* Sales Page Styles */
.sales-stats {
    margin-bottom: 2rem;
}

.sales-stats .stat-card {
    text-align: center;
    padding: 2rem 1rem;
}

.sales-stats .stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.sales-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.sales-stats .stat-label {
    font-size: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sale-item {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sale-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.sale-item .domain-info {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.sale-item .domain-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
}

.sale-item .sale-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.sale-item .sale-date {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.sale-item .sale-status {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sale-item .sale-actions {
    display: flex;
    gap: 0.5rem;
}

.sale-item .sale-actions .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Checkout Page Styles */
.checkout-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.checkout-header {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: white;
    padding: 2rem;
    text-align: center;
}

.checkout-body {
    padding: 2rem;
}

.checkout-form .form-control {
    border-radius: 10px;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.checkout-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.checkout-form .form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.payment-method {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.payment-method:hover {
    border-color: var(--primary-color);
    background: white;
}

.payment-method.selected {
    border-color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
}

.payment-method input[type="radio"] {
    margin-right: 0.5rem;
}

.payment-method label {
    margin-bottom: 0;
    font-weight: 600;
    cursor: pointer;
}

.order-summary {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 1.5rem;
    position: sticky;
    top: 2rem;
}

.order-summary h5 {
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.order-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-item .item-name {
    font-weight: 600;
    color: var(--dark-color);
}

.order-item .item-price {
    font-weight: 700;
    color: var(--primary-color);
}

.order-total {
    border-top: 2px solid #dee2e6;
    padding-top: 1rem;
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.security-badge {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(40, 167, 69, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.security-badge i {
    color: var(--success-color);
    margin-right: 0.5rem;
}

/* Invoice Styles */
.invoice-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 2rem auto;
    max-width: 800px;
}

.invoice-header {
    background: linear-gradient(45deg, var(--primary-color), #0056b3);
    color: white;
    padding: 2rem;
    border-radius: 15px 15px 0 0;
}

.invoice-body {
    padding: 2rem;
}

.invoice-footer {
    background: #f8f9fa;
    padding: 1.5rem 2rem;
    border-radius: 0 0 15px 15px;
}

.company-info {
    border-right: 2px solid rgba(255, 255, 255, 0.3);
}

.invoice-details {
    text-align: right;
}

.invoice-table {
    margin: 2rem 0;
}

.invoice-table th {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
}

.total-row {
    background: #f8f9fa;
    font-weight: 600;
}

.total-row td {
    border-top: 2px solid #dee2e6;
}

/* Print Styles for Invoice */
@media print {
    .no-print {
        display: none !important;
    }
    
    .invoice-container {
        box-shadow: none !important;
    }
    
    .invoice-header {
        background: #007bff !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
    
    .invoice-footer {
        background: #f8f9fa !important;
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
}

footer {
    background: #23272b !important;
    color: #fff !important;
    margin-top: 40px !important;
    padding-top: 32px !important;
    border-top: 1px solid #343a40;
}

footer h5, footer p, footer .text-muted {
    color: #fff !important;
    opacity: 0.85;
} 