:root {
    --primary: #2196F3;
    --primary-dark: #1976D2;
    --secondary: #FFC107;
    --dark: #333;
    --light: #f5f5f5;
    --success: #4CAF50;
    --danger: #F44336;
    --text: #444;
    --bg: #e0e5ec;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 800px;
    background: var(--bg);
}

header {
    text-align: center;
    margin-bottom: 40px;
}

.logo {
    font-size: 2.5rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo i {
    color: var(--primary);
}

.logo span {
    color: var(--primary);
    font-weight: 700;
}

.tagline {
    color: #666;
    font-size: 1.1rem;
}

.search-section {
    background: var(--bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 9px 9px 16px rgb(163,177,198,0.6), -9px -9px 16px rgba(255,255,255, 0.5);
    margin-bottom: 30px;
}

.manual-search {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

input[type="text"] {
    flex: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    background: var(--bg);
    box-shadow: inset 6px 6px 10px 0 rgba(163,177,198, 0.7), inset -6px -6px 10px 0 rgba(255,255,255, 0.8);
    font-size: 1rem;
    color: var(--dark);
    outline: none;
    transition: all 0.3s ease;
}

input[type="text"]:focus {
    box-shadow: inset 4px 4px 8px 0 rgba(163,177,198, 0.7), inset -4px -4px 8px 0 rgba(255,255,255, 0.8);
}

button {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.primary-btn {
    background: var(--primary);
    color: white;
    box-shadow: 6px 6px 10px 0 rgba(163,177,198, 0.7), -6px -6px 10px 0 rgba(255,255,255, 0.8);
}

.primary-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.primary-btn:active {
    transform: translateY(0);
}

.secondary-btn {
    width: 100%;
    background: var(--bg);
    color: var(--dark);
    box-shadow: 6px 6px 10px 0 rgba(163,177,198, 0.7), -6px -6px 10px 0 rgba(255,255,255, 0.8);
    justify-content: center;
}

.secondary-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.results-section {
    background: var(--bg);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 9px 9px 16px rgb(163,177,198,0.6), -9px -9px 16px rgba(255,255,255, 0.5);
    min-height: 200px;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.results-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
    background: var(--bg);
    box-shadow: 5px 5px 10px rgba(163,177,198,0.5), -5px -5px 10px rgba(255,255,255,0.6);
    transition: all 0.3s ease;
}

.result-item.available {
    border-left: 5px solid var(--success);
}

.result-item.taken {
    border-left: 5px solid var(--danger);
    opacity: 0.8;
}

.result-item.loading {
    border-left: 5px solid var(--secondary);
}

.domain-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.domain-status {
    font-size: 0.9rem;
    padding: 5px 10px;
    border-radius: 5px;
}

.status-available {
    color: var(--success);
    font-weight: bold;
}

.status-taken {
    color: var(--danger);
}

.buy-link {
    text-decoration: none;
    color: white;
    background: var(--success);
    padding: 5px 15px;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-left: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.2);
}

.buy-link:hover {
    background: #388E3C;
}

footer {
    text-align: center;
    margin-top: 40px;
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .manual-search {
        flex-direction: column;
    }
    
    button {
        width: 100%;
        justify-content: center;
    }
}
