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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 700px;
}

.card {
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

h1 {
    font-size: 2.2rem;
    color: #e0e0e0;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.input-group {
    display: flex;
    gap: 10px;
}

input[type="tel"],
input[type="password"] {
    padding: 15px 20px;
    font-size: 1rem;
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    color: #e0e0e0;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="tel"] {
    flex: 1;
}

input[type="password"] {
    width: 140px;
}

input[type="tel"]::placeholder,
input[type="password"]::placeholder {
    color: #555;
}

input[type="tel"]:focus,
input[type="password"]:focus {
    border-color: #555;
    box-shadow: 0 0 0 2px rgba(80, 80, 80, 0.3);
}

button {
    padding: 15px 25px;
    font-size: 1rem;
    font-weight: 500;
    color: #e0e0e0;
    background: #2a2a2a;
    border: 1px solid #404040;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    min-width: 100px;
    letter-spacing: 1px;
}

button:hover {
    background: #333;
    border-color: #505050;
}

button:active {
    background: #252525;
}

button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 2px solid rgba(224, 224, 224, 0.2);
    border-radius: 50%;
    border-top-color: #e0e0e0;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.hidden {
    display: none !important;
}

.error {
    margin-top: 20px;
    padding: 15px;
    background: #2a1515;
    border: 1px solid #4a2020;
    border-radius: 8px;
    color: #ff6b6b;
    text-align: center;
}

.results {
    margin-top: 30px;
}

/* Phone Info Section */
.phone-info {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
}

.phone-info h2 {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.phone-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.meta-item {
    background: #0f0f0f;
    padding: 12px 14px;
    border-radius: 6px;
    border: 1px solid #222;
}

.meta-label {
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.meta-value {
    font-size: 0.95rem;
    color: #c0c0c0;
    font-weight: 500;
    margin-top: 4px;
}

/* Owner Cards */
.owner-card {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
}

.owner-card:last-child {
    margin-bottom: 0;
}

.owner-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 12px;
    border-bottom: 1px solid #2a2a2a;
}

.owner-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.owner-icon.person {
    background: #1a2a1a;
    border: 1px solid #2a3a2a;
}

.owner-icon.business {
    background: #1a1a2a;
    border: 1px solid #2a2a3a;
}

.owner-name {
    font-size: 1.15rem;
    color: #e0e0e0;
    font-weight: 500;
}

.owner-type {
    font-size: 0.8rem;
    color: #666;
    margin-top: 2px;
}

.owner-section {
    margin-bottom: 15px;
}

.owner-section:last-child {
    margin-bottom: 0;
}

.section-title {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-content {
    color: #a0a0a0;
    font-size: 0.95rem;
    line-height: 1.6;
}

.address-item, .phone-item, .email-item {
    background: #0f0f0f;
    padding: 12px 14px;
    border-radius: 6px;
    margin-bottom: 8px;
    border: 1px solid #222;
    color: #b0b0b0;
}

.address-item:last-child, .phone-item:last-child, .email-item:last-child {
    margin-bottom: 0;
}

.tag {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-left: 10px;
    letter-spacing: 0.5px;
}

.tag.person {
    background: #1a2a1a;
    color: #5a8a5a;
    border: 1px solid #2a3a2a;
}

.tag.business {
    background: #1a1a2a;
    color: #5a5a8a;
    border: 1px solid #2a2a3a;
}

.tag.mobile {
    background: #2a2015;
    color: #b08050;
    border: 1px solid #3a3025;
}

.tag.landline {
    background: #201520;
    color: #905090;
    border: 1px solid #302530;
}

.alt-names {
    font-size: 0.85rem;
    color: #555;
    font-style: italic;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 8px;
}

.info-item {
    background: #0f0f0f;
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #222;
}

.info-label {
    font-size: 0.7rem;
    color: #555;
    text-transform: uppercase;
}

.info-value {
    font-size: 0.9rem;
    color: #b0b0b0;
}

@media (max-width: 480px) {
    .card {
        padding: 25px;
    }
    
    .input-group {
        flex-direction: column;
    }
    
    input[type="password"] {
        width: 100%;
    }
    
    button {
        width: 100%;
    }
    
    .phone-meta {
        grid-template-columns: 1fr 1fr;
    }
}
