/* Цветовая схема */
:root {
    --dark-900: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --dark-600: #475569;
    --primary: #3d8bfd;
    --primary-20: rgba(61, 139, 253, 0.2);
    --secondary: #6f42c1;
    --secondary-20: rgba(111, 66, 193, 0.2);
    --tertiary: #0dcaf0;
    --tertiary-20: rgba(13, 202, 240, 0.2);
    --light: #f8fafc;
    --light-60: rgba(248, 250, 252, 0.6);
    --light-80: rgba(248, 250, 252, 0.8);
}

/* Фоны */
.bg-gradient-dark {
    background: linear-gradient(135deg, var(--dark-900) 0%, var(--dark-800) 100%);
}

.bg-gray-800 {
    background-color: var(--dark-800);
}

.bg-gray-700 {
    background-color: var(--dark-700);
}

/* Текст */
.text-light {
    color: var(--light);
}

.text-light-60 {
    color: var(--light-60);
}

.text-light-80 {
    color: var(--light-80);
}

/* Границы */
.border-gray-700 {
    border-color: var(--dark-700) !important;
}

/* Кнопки */
.btn-primary-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, #0d6efd 100%);
    border: none;
    color: white;
    transition: all 0.3s;
}

.btn-secondary-gradient {
    background: linear-gradient(135deg, var(--secondary) 0%, #59359a 100%);
    border: none;
    color: white;
    transition: all 0.3s;
}

.btn-tertiary-gradient {
    background: linear-gradient(135deg, var(--tertiary) 0%, #0aa2c0 100%);
    border: none;
    color: white;
    transition: all 0.3s;
}

.btn-primary-gradient:hover,
.btn-secondary-gradient:hover,
.btn-tertiary-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
}

/* Карточки */
.card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border: none !important;
}

.card:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Списки */
.list-group-minimal .list-group-item {
    background: transparent;
    border: none;
    padding: 1.25rem 0;
    border-radius: 0;
}

.list-group-minimal .list-group-item:first-child {
    padding-top: 0;
}

.list-group-minimal .list-group-item:last-child {
    padding-bottom: 0;
    border-bottom: none !important;
}

/* Бейджи */
.badge {
    padding: 0.4em 0.8em;
    font-weight: 500;
    border-radius: 8px;
}

.badge.bg-primary-20 {
    background-color: var(--primary-20);
}

.badge.bg-secondary-20 {
    background-color: var(--secondary-20);
}

.badge.bg-tertiary-20 {
    background-color: var(--tertiary-20);
}

.badge.bg-gray-700 {
    background-color: var(--dark-700);
}

/* Формы */
.input-group-glass {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.input-group-glass .input-group-text {
    border-radius: 0;
}

/* Градиенты */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #2a68d0 100%);
    border: none;
    border-radius: 16px;
}

/* IP Lookup Specific Styles */
.result-container .card-header {
    background-color: #1e1e1e;
    border-bottom: 1px solid #333;
    font-weight: 600;
    padding: 0.75rem 1.25rem;
}

.list-group-item {
    background-color: transparent;
    border-color: #333;
    padding: 0.75rem 0;
}

.list-group-item span:first-child {
    font-weight: 500;
    color: #aaa;
}

.list-group-item span:last-child {
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

#map-container {
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1.5rem;
    border: 1px solid #333;
}