/* ============================================
   WHAT IS MY IP - Card Styles
   ============================================ */

.my-ip-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin: 24px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.my-ip-main {
    text-align: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 24px;
}

.my-ip-label {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 500;
}

/* Row layout for IPv4/IPv6 */
.my-ip-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(39, 97, 155, 0.08);
    padding: 14px 20px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.my-ip-row:last-child {
    margin-bottom: 0;
}

.my-ip-type-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
    min-width: 50px;
    text-align: right;
}

.my-ip-value {
    font-size: 22px;
    font-weight: 700;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    color: #27619B;
    word-break: break-all;
    flex: 1;
    text-align: left;
}

body.dark-mode .my-ip-value {
    color: #63b3ed;
}

body.dark-mode .my-ip-row {
    background: rgba(99, 179, 237, 0.1);
}

.copy-ip-btn {
    background: #27619B;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.copy-ip-btn.small {
    padding: 6px 12px;
}

.copy-ip-btn:hover {
    background: #1e4b7a;
}

.copy-ip-btn.copied {
    background: #10b981;
}

.copy-icon-dark {
    width: 16px;
    height: 16px;
    filter: brightness(0) invert(1);
}

.copy-check {
    font-size: 14px;
}

.my-ip-details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

@media (max-width: 600px) {
    .my-ip-details-grid {
        grid-template-columns: 1fr;
    }

    .my-ip-row {
        flex-wrap: wrap;
    }

    .my-ip-value {
        font-size: 18px;
    }
}

.my-ip-detail {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.my-ip-detail .detail-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.my-ip-detail .detail-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.my-ip-detail .detail-text {
    font-size: 15px;
    color: var(--text-color);
    font-weight: 500;
}