﻿/* ============================= */
/*      DOMAIN SEARCH SECTION    */
/* ============================= */
.domain-search-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
    margin-bottom: 25px;
}

.search-container {
    max-width: 900px;
    width: 100%;
    padding: 25px 25px;
    border-radius: 28px;
    text-align: center;
    color: #fff;
    box-shadow: 0 20px 45px rgba(0,0,0,0.25);
    position: relative;
    transition: all 0.4s ease;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.search-container:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
}

/* Input Group */
.domain-input-group {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
}

.domain-input {
    flex: 1;
    border: none;
    border-radius: 18px 0 0 18px;
    padding: 24px 28px;
    font-size: 1.6rem;
    background: rgba(255,255,255,0.95);
    color: #1e293b;
    transition: all 0.3s ease;
    min-width: 0; /* flex shrink fix */
}

    .domain-input::placeholder {
        color: #94a3b8;
        font-size: 1.3rem;
    }

    .domain-input:focus {
        outline: none;
        box-shadow: 0 0 0 5px rgba(27,255,255,0.4);
    }

/* Search Button */
.btn-search {
    border-radius: 0 18px 18px 0;
    background: linear-gradient(135deg, #2E3192, #1BFFFF);
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 24px 40px;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

    .btn-search i {
        margin-right: 10px;
    }

    .btn-search:hover {
        background: linear-gradient(135deg, #1BFFFF, #2E3192);
        transform: scale(1.07);
        box-shadow: 0 8px 20px rgba(46,49,146,0.45);
    }

/* Responsive */
@media (max-width: 992px) {
    .search-container {
        max-width: 700px;
        padding: 40px 30px;
    }

    .domain-input {
        font-size: 1.3rem;
        padding: 20px 22px;
    }

    .btn-search {
        font-size: 1.2rem;
        padding: 20px 28px;
    }
}

@media (max-width: 768px) {
    .domain-search-wrapper {
        margin-top: 40px;
        margin-bottom: 40px;
    }

    .search-container {
        padding: 30px 20px;
        border-radius: 20px;
    }

    .domain-input {
        font-size: 1.1rem;
        padding: 16px 16px;
    }

    .btn-search {
        font-size: 1rem;
        padding: 16px 22px;
    }
}



/* ============================= */
/*       DOMAIN INFO CARDS       */
/* ============================= */

.portlet {
    background: rgba(255,255,255,0.85);
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    margin-bottom: 24px;
    transition: all 0.3s ease;
}

    .portlet:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.12);
    }

/* Başlık */
.portlet-title {
    padding: 10px 16px;
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.3px;
}

    .portlet-title .caption i {
        margin-right: 6px;
    }

.portlet-body {
    padding: 14px 16px;
}

/* Renk temaları */
.purple .portlet-title {
    background: linear-gradient(135deg, #6a11cb, #2575fc);
}

.blue .portlet-title {
    background: linear-gradient(135deg, #2E3192, #1BFFFF);
}

.red .portlet-title {
    background: linear-gradient(135deg, #ef4444, #f97316);
}

.yellow-crusta .portlet-title {
    background: linear-gradient(135deg, #f59e0b, #f97316);
}

.dark .portlet-title {
    background: linear-gradient(135deg, #111827, #334155);
}

.green .portlet-title {
    background: linear-gradient(135deg, #16a34a, #22c55e);
}

.blue-hoki .portlet-title {
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
}

/* İçerik */
.static-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dashed rgba(0,0,0,0.05);
    padding: 6px 0;
    font-size: 0.95rem;
}

    .static-info .name {
        color: #475569;
        font-weight: 600;
        flex: 1;
    }

    .static-info .value {
        color: #0f172a;
        text-align: right;
        flex: 1;
        word-break: break-word;
    }

/* Label formatı */
.label {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #fff;
}

.label-success {
    background: #16a34a;
}

.label-danger {
    background: #dc2626;
}

/* Daha içe dönük grid */
.row > [class*="col-"] {
    padding-left: 10px;
    padding-right: 10px;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
}

/* Genel sayfa sıkılığı */
.page-container {
    padding: 20px 5%;
}

.pull-left.col-md-12 {
    padding: 0 10px;
}

/* Mobil uyum */
@media (max-width: 992px) {
    .portlet-title {
        font-size: 0.9rem;
        padding: 8px 12px;
    }

    .portlet-body {
        padding: 10px 12px;
    }

    .static-info {
        font-size: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
    }

        .static-info .value {
            text-align: left;
            opacity: 0.9;
        }
}
