﻿/* Hero Section */
.domain-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 40px 0 20px;
    color: white;
    text-align: center;
}

    .domain-hero h1 {
        font-size: 48px;
        font-weight: 700;
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .domain-hero .subtitle {
        font-size: 22px;
        font-weight: 400;
        margin-bottom: 40px;
        opacity: 0.95;
    }

/* Search Section */
.search-section {
    background: white;
    padding: 60px 0;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 40px;
    margin-bottom: 40px;
}

.bulk-input-container {
    margin-bottom: 20px;
}

.bulk-textarea {
    width: 100%;
    min-height: 200px;
    font-size: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s ease;
    resize: vertical;
}

    .bulk-textarea:focus {
        outline: none;
        border-color: #fa8c16;
        box-shadow: 0 0 0 3px rgba(250, 140, 22, 0.1);
    }

.file-upload-container {
    margin: 20px 0;
    text-align: center;
    padding: 30px;
    border: 2px dashed #e1e5e9;
    border-radius: 8px;
    background: #f8f9fa;
}

.file-upload-label {
    display: block;
    padding: 15px 30px;
    background: #fa8c16;
    color: white;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
    width: fit-content;
}

    .file-upload-label:hover {
        background: #e67d0e;
        transform: translateY(-1px);
    }

.file-input {
    display: none;
}

.file-info {
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.search-button {
    width: 100%;
    height: 56px;
    background: #fa8c16;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

    .search-button:hover {
        background: #e67d0e;
        transform: translateY(-1px);
    }

    .search-button:disabled {
        background: #ccc;
        cursor: not-allowed;
        transform: none;
    }

.tab-container {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-button {
    flex: 1;
    padding: 12px;
    background: #f8f9fa;
    border: 1px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

    .tab-button.active {
        background: #fa8c16;
        color: white;
        border-color: #fa8c16;
    }

    .tab-button:hover:not(.active) {
        background: #e9ecef;
    }

.example-domains {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

    .example-domains ul {
        padding-left: 20px;
        margin: 10px 0;
    }

    .example-domains li {
        margin-bottom: 5px;
    }

/* Results Section */
.results-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

    .result-card:hover {
        box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    }

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.domain-name {
    font-size: 24px;
    font-weight: 700;
    color: #333;
}

.domain-status {
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.status-available {
    background: #e8f5e8;
    color: #2d5a2d;
}

.status-taken {
    background: #ffeaea;
    color: #d32f2f;
}

.result-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.result-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

    .result-features li {
        padding: 8px 0;
        color: #666;
        display: flex;
        align-items: center;
    }

        .result-features li:before {
            content: "✓";
            color: #fa8c16;
            font-weight: bold;
            margin-right: 12px;
            font-size: 16px;
        }

.result-actions {
    text-align: right;
}

.result-price {
    font-size: 28px;
    font-weight: 700;
    color: #fa8c16;
    margin-bottom: 16px;
}

/* Loading */
.loading-spinner {
    text-align: center;
    padding: 40px;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #fa8c16;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .domain-hero h1 {
        font-size: 36px;
    }

    .domain-hero .subtitle {
        font-size: 18px;
    }

    .search-form {
        padding: 20px;
    }

    .result-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .result-actions {
        text-align: left;
    }
}

.bulk-loading .container {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
}

.bulk-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    color: white;
    opacity: 0.9;
    z-index: 1001;
}
