/*
 * Domain Pricing Table - Modern & Responsive Design
 * Alan adı fiyatlandırma tablosu için modern UI
 */

/* Modern Table Styling */
.pricing-table {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    overflow: hidden;
}

.pricing-table thead tr {
    background: linear-gradient(135deg, #160f3e 0%, #5b21b6 100%) !important;
}

.pricing-table thead th {
    padding: 2rem 1.5rem !important;
    text-align: center;
    vertical-align: middle;
    border: none !important;
    position: relative;
}

.pricing-table thead th:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.pricing-table thead .avatar {
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.pricing-table thead .avatar i {
    font-size: 1.75rem;
}

/* Table Body Styling */
.pricing-table tbody tr {
    transition: all 0.3s ease;
    background: white;
}

.pricing-table tbody tr:hover {
    background: linear-gradient(90deg, #f8f9fa 0%, #ffffff 100%);
    box-shadow: 0 4px 15px rgba(22, 15, 62, 0.08);
    transform: scale(1.01);
}

.pricing-table tbody td {
    padding: 1.5rem 1.25rem !important;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #e9ecef !important;
    border-left: none !important;
    border-right: none !important;
}

.pricing-table tbody tr:last-child td {
    border-bottom: none !important;
}

/* Domain Extension Column */
.pricing-table .pricing-feature {
    text-align: left !important;
    font-weight: 600;
    position: relative;
}

.pricing-table .pricing-feature .tx-17 {
    font-size: 1.25rem !important;
    font-weight: 700;
    color: #160f3e;
}

/* Badges */
.pricing-table .badge {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-left: 0.5rem;
}

/* Price Styling */
.pricing-table tbody td p {
    font-size: 1.25rem;
    font-weight: 700;
    color: #160f3e;
    margin-bottom: 0.25rem;
}

.pricing-table tbody td small {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Discount Price */
.pricing-table .text-decoration-line-through {
    font-size: 1rem !important;
    opacity: 0.7;
    margin-right: 0.5rem;
}

/* Action Buttons */
.pricing-table .btn-outline-primary {
    border: 2px solid #160f3e;
    color: #160f3e;
    font-weight: 600;
    padding: 0.625rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.pricing-table .btn-outline-primary:hover {
    background: linear-gradient(135deg, #160f3e 0%, #5b21b6 100%);
    border-color: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(22, 15, 62, 0.25);
}

/* Responsive Design - Tablet */
@media (max-width: 991px) {
    .pricing-table thead th {
        padding: 1.5rem 1rem !important;
        font-size: 0.9375rem;
    }

    .pricing-table thead .avatar {
        width: 50px;
        height: 50px;
    }

    .pricing-table thead .avatar i {
        font-size: 1.5rem;
    }

    .pricing-table thead th small {
        font-size: 0.75rem;
    }

    .pricing-table tbody td {
        padding: 1.25rem 1rem !important;
    }

    .pricing-table tbody td p {
        font-size: 1.125rem;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 767px) {
    /* Card-based Mobile View */
    .pricing-table {
        display: block;
    }

    .pricing-table thead {
        display: none;
    }

    .pricing-table tbody {
        display: block;
    }

    .pricing-table tbody tr {
        display: block;
        margin-bottom: 1.5rem;
        border: 2px solid #e9ecef;
        border-radius: 12px;
        padding: 1.5rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }

    .pricing-table tbody tr:hover {
        transform: none;
    }

    .pricing-table tbody td {
        display: block;
        text-align: left !important;
        padding: 0.75rem 0 !important;
        border: none !important;
    }

    .pricing-table .pricing-feature {
        padding-bottom: 1rem !important;
        margin-bottom: 1rem;
        border-bottom: 2px solid #e9ecef !important;
    }

    .pricing-table .pricing-feature .tx-17 {
        font-size: 1.5rem !important;
        display: block;
        margin-bottom: 0.5rem;
    }

    .pricing-table .badge {
        display: inline-block;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .pricing-table tbody td::before {
        content: attr(data-label);
        display: block;
        font-weight: 600;
        color: #6c757d;
        font-size: 0.875rem;
        margin-bottom: 0.25rem;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .pricing-table tbody td:first-child::before,
    .pricing-table tbody td:last-child::before {
        display: none;
    }

    .pricing-table tbody td p {
        font-size: 1.125rem;
    }

    .pricing-table tbody tr td:last-child {
        padding-top: 1.5rem !important;
    }

    .pricing-table .btn-outline-primary {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* Very Small Mobile */
@media (max-width: 576px) {
    .pricing-table tbody tr {
        padding: 1.25rem;
    }

    .pricing-table .pricing-feature .tx-17 {
        font-size: 1.25rem !important;
    }

    .pricing-table tbody td p {
        font-size: 1rem;
    }

    .pricing-table tbody td small {
        font-size: 0.8125rem;
    }
}

/* Table Container Enhancements */
.table-responsive {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(22, 15, 62, 0.12);
}

/* Smooth Scrollbar for Mobile Horizontal Scroll */
.table-responsive::-webkit-scrollbar {
    height: 8px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #160f3e 0%, #5b21b6 100%);
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5b21b6 0%, #160f3e 100%);
}

/* ============================================
   POPULAR DOMAIN CARDS - Modern UI Design
   ============================================ */

.popular-domain-card {
    position: relative;
    border: 3px solid transparent;
    background: white;
    background-clip: padding-box;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(22, 15, 62, 0.12);
}

/* Gradient Border */
.popular-domain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    padding: 3px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #d4af37 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 0;
}

.popular-domain-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(22, 15, 62, 0.2);
}

.popular-domain-card .card-body {
    position: relative;
    z-index: 1;
    padding: 2rem 1.5rem;
}

/* Domain Badge */
.domain-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.domain-badge.badge-success {
    background: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
}

.domain-badge.badge-info {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
}

.domain-badge.badge-warning {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
}

/* Icon Wrapper */
.domain-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #160f3e 0%, #5b21b6 100%);
    border-radius: 50%;
    position: relative;
    transition: all 0.4s ease;
}

.domain-icon-wrapper::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #d4af37 100%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popular-domain-card:hover .domain-icon-wrapper::after {
    opacity: 1;
}

.domain-icon {
    font-size: 2.5rem;
    color: white;
}

.popular-domain-card:hover .domain-icon-wrapper {
    transform: rotateY(360deg);
}

/* Domain Extension */
.domain-extension {
    font-size: 2.5rem;
    font-weight: 800;
    color: #160f3e;
    margin-bottom: 0.75rem;
    margin-top: 0.5rem;
}

/* Domain Description */
.domain-description {
    font-size: 0.9375rem;
    color: #6c757d;
    margin-bottom: 1rem;
    min-height: 45px;
}

/* Domain Features */
.domain-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.feature-item {
    font-size: 0.875rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-item i {
    color: #10b981;
    font-size: 1rem;
}

/* Price Wrapper */
.price-wrapper {
    margin: 1.5rem 0;
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.old-price {
    font-size: 1rem;
    color: #dc3545;
    text-decoration: line-through;
    margin-bottom: 0.25rem;
    opacity: 0.7;
}

.new-price {
    font-size: 2rem;
    font-weight: 800;
    color: #160f3e;
    margin-bottom: 0;
}

.price-period {
    font-size: 1rem;
    font-weight: 400;
    color: #6c757d;
}

/* Domain Transfer Button */
.btn-domain-transfer {
    background: linear-gradient(135deg, #160f3e 0%, #5b21b6 100%);
    color: white;
    border: none;
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(22, 15, 62, 0.25);
}

.btn-domain-transfer:hover {
    background: linear-gradient(135deg, #5b21b6 0%, #160f3e 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(22, 15, 62, 0.35);
}

.btn-domain-transfer:active {
    transform: translateY(0);
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .popular-domain-card .card-body {
        padding: 1.5rem 1.25rem;
    }

    .domain-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    .domain-icon {
        font-size: 2rem;
    }

    .domain-extension {
        font-size: 2rem;
    }

    .new-price {
        font-size: 1.75rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .popular-domain-card {
        margin-bottom: 1.5rem;
    }

    .popular-domain-card .card-body {
        padding: 1.25rem 1rem;
    }

    .domain-icon-wrapper {
        width: 60px;
        height: 60px;
    }

    .domain-icon {
        font-size: 1.75rem;
    }

    .domain-extension {
        font-size: 1.75rem;
    }

    .domain-description {
        font-size: 0.875rem;
        min-height: auto;
    }

    .new-price {
        font-size: 1.5rem;
    }

    .btn-domain-transfer {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Very Small Mobile */
@media (max-width: 576px) {
    .domain-badge {
        font-size: 0.6875rem;
        padding: 0.25rem 0.625rem;
    }

    .domain-features {
        font-size: 0.8125rem;
    }

    .price-wrapper {
        padding: 1rem;
    }
}
