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

body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #1e1e1e;
    color: #f0f0f0;
}

.container {
    display: flex;
    height: 100vh;
    width: 100vw;
}

.pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 15px;
    height: 100%;
    background-color: #1e1e1e;
}

.main-pane {
    border-right: 1px solid #333;
    justify-content: flex-start;
}

.details-pane {
    background-color: #1e1e1e;
}

.pane-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    min-height: 40px;
}

.label {
    font-weight: 600;
    color: #66afe9;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* IP Display Styling */
.ip-display-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #2d2d2d;
    border-radius: 8px;
    border: 1px solid #333;
}

h1#ipAddress {
    font-size: 3rem;
    color: #f0f0f0;
    margin-bottom: 20px;
    font-family: "Consolas", "Monaco", monospace;
    text-align: center;
}

h1.loading {
    color: #666;
    font-size: 2rem;
}

/* Details List Styling */
.details-list {
    flex: 1;
    background-color: #2d2d2d;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #444;
    padding-bottom: 10px;
}

.detail-item:last-of-type {
    border-bottom: none;
}

.detail-label {
    color: #888;
    font-size: 0.9rem;
}

.detail-value {
    font-weight: 500;
    color: #f0f0f0;
    text-align: right;
}

.maps-link {
    margin-top: auto;
    color: #66afe9;
    text-decoration: none;
    font-size: 0.9rem;
    align-self: flex-end;
}

.maps-link:hover {
    text-decoration: underline;
}

/* Button Styles */
.action-btn {
    padding: 8px 16px;
    background-color: #2d2d2d;
    color: #66afe9;
    border: 1px solid #66afe9;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.action-btn:hover {
    background-color: #66afe9;
    color: #1e1e1e;
}

.action-btn:active {
    transform: translateY(1px);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }
    .main-pane {
        border-right: none;
        border-bottom: 1px solid #333;
        min-height: 40%;
    }
}
